Figure B.7 shows the static structure of the Interpreter pattern (Gamma et al. 1995) annotated with UML-F tags. Table B.7 summarizes the Interpreter pattern UML-F tags. Interpreter is based on the Separation construction principle.
Tags | Interpreter Client , |
Apply to | As shown in Fig. B.5: Class ( Interpreter Client , Interpreter AbstractExpression , Interpreter TerminalExpression , Interpreter NonterminalExpression ) Method ( Interpreter clientM , Interpreter interpret , Interpreter interpret ) Interface ( Interpreter-Client , Interpreter AbstractExpression ) Association ( Interpreter exp ) |
Type | String. |
Expansion | The Interpreter pattern is based on the Separation principle and therefore its tags expand as follows: Interpreter Client to Sep T , Interpreter clientM to Sep t , Interpreter AbstractExpression to Sep H , and Interpreter interpret to Sep h . |