GME  13
Defines | Typedefs | Functions | Variables
OCLParserStatic.h File Reference

Go to the source code of this file.

Defines

#define CLASS_MULTIPLICATIVE   1000
#define CLASS_ADDITIVE   1001
#define CLASS_RELATIONAL   1002
#define CLASS_LOGICAL   1003
#define CLASS_PREPOST   1004
#define CLASS_STEREOTYPES   1005
#define CLASS_UNARY   1006
#define CLASS_BOOLEAN   1007
#define CLASS_CALLKIND   1008
#define CLASS_LOGICAL_AND   1009
#define CLASS_LOGICAL_OR   1010
#define CLASS_LOGICAL_IMPLIES   1011
#define LID_NODE_START   0
#define LID_CALL_OPERATOR   1
#define LID_DECLARATOR_NAME   2
#define LID_DECLARATOR_NAME2   3
#define LID_DECLARATOR_TYPE   4
#define LID_ACCUMULATOR_NAME   5
#define LID_ACCUMULATOR_TYPE   6
#define LID_FEATURE_NAME   7
#define LID_CONSTRAINT_NAME   8
#define LID_CONTEXT_TYPE   9
#define LID_CONTEXT_STEREOTYPE   10
#define LID_CONTEXT_RETURNTYPE   11
#define LID_VARIABLE_NAME   12
#define LID_VARIABLE_TYPE   13
#define LID_ROLE_NAME   14
#define LID_PARAMETER_NAME   100
#define LID_PARAMETER_TYPE   200

Typedefs

typedef std::set< intTokenSet

Functions

void InitializeTokenSets ()
TokenSet Union (const TokenSet &setTokens1, const TokenSet &setTokens2)
TokenSet Union (const TokenSet &setTokens, int iToken)
std::string PrintToken (int iToken, bool bQuote)
std::string PrintTokens (const TokenSet &setTokens)
bool Contains (const TokenSet &setTokens1, const TokenSet &setTokens2)
bool Contains (const TokenSet &setTokens, int iToken)

Variables

TokenSet First_name
TokenSet First_typeName
TokenSet First_colon
TokenSet First_inputend
TokenSet First_expression
TokenSet First_contextDeclarationHelper
TokenSet First_inv
TokenSet First_right_parenthesis
TokenSet First_left_parenthesis
TokenSet First_formalParameterList
TokenSet First_prePost
TokenSet First_formalParameter
TokenSet First_letExpression
TokenSet First_implicationExpression
TokenSet First_in
TokenSet First_equal
TokenSet First_then
TokenSet First_else
TokenSet First_endif
TokenSet First_orExpression
TokenSet First_xorExpression
TokenSet First_andExpression
TokenSet First_relationalExpression
TokenSet First_additiveExpression
TokenSet First_multiplicativeExpression
TokenSet First_unaryExpression
TokenSet First_postfixExpression
TokenSet First_featureCall
TokenSet First_primaryExpression
TokenSet First_featureCallParametersHelper
TokenSet First_featureCallParameters
TokenSet First_delimiter
TokenSet First_actualParameterList
TokenSet First_right_bracket
TokenSet First_literal
TokenSet First_left_brace
TokenSet First_right_brace
TokenSet First_expressionListOrRange
TokenSet First_qualifiers
TokenSet Last_contextDeclarationHelper
TokenSet Last_literal
TokenSet Last_primaryExpression
TokenSet Last_featureCall
TokenSet Last_featureCallParametersHelper
TokenSet Last_expression
TokenSet Last_implicationExpression

Define Documentation

#define CLASS_ADDITIVE   1001

Definition at line 67 of file OCLParserStatic.h.

#define CLASS_BOOLEAN   1007

Definition at line 73 of file OCLParserStatic.h.

#define CLASS_CALLKIND   1008

Definition at line 74 of file OCLParserStatic.h.

#define CLASS_LOGICAL   1003

Definition at line 69 of file OCLParserStatic.h.

#define CLASS_LOGICAL_AND   1009

Definition at line 75 of file OCLParserStatic.h.

#define CLASS_LOGICAL_IMPLIES   1011

Definition at line 77 of file OCLParserStatic.h.

#define CLASS_LOGICAL_OR   1010

Definition at line 76 of file OCLParserStatic.h.

#define CLASS_MULTIPLICATIVE   1000

Definition at line 66 of file OCLParserStatic.h.

#define CLASS_PREPOST   1004

Definition at line 70 of file OCLParserStatic.h.

#define CLASS_RELATIONAL   1002

Definition at line 68 of file OCLParserStatic.h.

#define CLASS_STEREOTYPES   1005

Definition at line 71 of file OCLParserStatic.h.

#define CLASS_UNARY   1006

Definition at line 72 of file OCLParserStatic.h.

#define LID_ACCUMULATOR_NAME   5

Definition at line 84 of file OCLParserStatic.h.

#define LID_ACCUMULATOR_TYPE   6

Definition at line 85 of file OCLParserStatic.h.

#define LID_CALL_OPERATOR   1

Definition at line 80 of file OCLParserStatic.h.

#define LID_CONSTRAINT_NAME   8

Definition at line 87 of file OCLParserStatic.h.

#define LID_CONTEXT_RETURNTYPE   11

Definition at line 90 of file OCLParserStatic.h.

#define LID_CONTEXT_STEREOTYPE   10

Definition at line 89 of file OCLParserStatic.h.

#define LID_CONTEXT_TYPE   9

Definition at line 88 of file OCLParserStatic.h.

#define LID_DECLARATOR_NAME   2

Definition at line 81 of file OCLParserStatic.h.

#define LID_DECLARATOR_NAME2   3

Definition at line 82 of file OCLParserStatic.h.

#define LID_DECLARATOR_TYPE   4

Definition at line 83 of file OCLParserStatic.h.

#define LID_FEATURE_NAME   7

Definition at line 86 of file OCLParserStatic.h.

#define LID_NODE_START   0

Definition at line 79 of file OCLParserStatic.h.

#define LID_PARAMETER_NAME   100

Definition at line 94 of file OCLParserStatic.h.

#define LID_PARAMETER_TYPE   200

Definition at line 95 of file OCLParserStatic.h.

#define LID_ROLE_NAME   14

Definition at line 93 of file OCLParserStatic.h.

#define LID_VARIABLE_NAME   12

Definition at line 91 of file OCLParserStatic.h.

#define LID_VARIABLE_TYPE   13

Definition at line 92 of file OCLParserStatic.h.


Typedef Documentation

typedef std::set< int > TokenSet

Definition at line 15 of file OCLParserStatic.h.


Function Documentation

bool Contains ( const TokenSet setTokens1,
const TokenSet setTokens2 
)

Definition at line 422 of file OCLParserStatic.cpp.

bool Contains ( const TokenSet setTokens,
int  iToken 
)

Definition at line 310 of file OCLParserStatic.cpp.

Definition at line 60 of file OCLParserStatic.cpp.

std::string PrintToken ( int  iToken,
bool  bQuote 
)

Definition at line 192 of file OCLParserStatic.cpp.

std::string PrintTokens ( const TokenSet setTokens)

Definition at line 302 of file OCLParserStatic.cpp.

TokenSet Union ( const TokenSet setTokens1,
const TokenSet setTokens2 
)

Definition at line 177 of file OCLParserStatic.cpp.

TokenSet Union ( const TokenSet setTokens,
int  iToken 
)

Definition at line 185 of file OCLParserStatic.cpp.


Variable Documentation

Definition at line 31 of file OCLParserStatic.cpp.

Definition at line 47 of file OCLParserStatic.cpp.

Definition at line 45 of file OCLParserStatic.cpp.

Definition at line 14 of file OCLParserStatic.cpp.

Definition at line 33 of file OCLParserStatic.cpp.

Definition at line 25 of file OCLParserStatic.cpp.

Definition at line 23 of file OCLParserStatic.cpp.

Definition at line 24 of file OCLParserStatic.cpp.

Definition at line 21 of file OCLParserStatic.cpp.

Definition at line 49 of file OCLParserStatic.cpp.

Definition at line 30 of file OCLParserStatic.cpp.

Definition at line 39 of file OCLParserStatic.cpp.

Definition at line 38 of file OCLParserStatic.cpp.

Definition at line 37 of file OCLParserStatic.cpp.

Definition at line 35 of file OCLParserStatic.cpp.

Definition at line 34 of file OCLParserStatic.cpp.

Definition at line 42 of file OCLParserStatic.cpp.

Definition at line 20 of file OCLParserStatic.cpp.

Definition at line 15 of file OCLParserStatic.cpp.

Definition at line 16 of file OCLParserStatic.cpp.

Definition at line 27 of file OCLParserStatic.cpp.

Definition at line 18 of file OCLParserStatic.cpp.

Definition at line 36 of file OCLParserStatic.cpp.

Definition at line 29 of file OCLParserStatic.cpp.

Definition at line 48 of file OCLParserStatic.cpp.

Definition at line 12 of file OCLParserStatic.cpp.

Definition at line 43 of file OCLParserStatic.cpp.

Definition at line 41 of file OCLParserStatic.cpp.

Definition at line 19 of file OCLParserStatic.cpp.

Definition at line 32 of file OCLParserStatic.cpp.

Definition at line 50 of file OCLParserStatic.cpp.

Definition at line 46 of file OCLParserStatic.cpp.

Definition at line 28 of file OCLParserStatic.cpp.

Definition at line 26 of file OCLParserStatic.cpp.

Definition at line 17 of file OCLParserStatic.cpp.

Definition at line 22 of file OCLParserStatic.cpp.

Definition at line 13 of file OCLParserStatic.cpp.

Definition at line 40 of file OCLParserStatic.cpp.

Definition at line 44 of file OCLParserStatic.cpp.

Definition at line 58 of file OCLParserStatic.cpp.

Definition at line 56 of file OCLParserStatic.cpp.

Definition at line 53 of file OCLParserStatic.cpp.

Definition at line 54 of file OCLParserStatic.cpp.

Definition at line 57 of file OCLParserStatic.cpp.

Definition at line 55 of file OCLParserStatic.cpp.

Definition at line 52 of file OCLParserStatic.cpp.