maj
Class MetaAspectJRecognizer
java.lang.Object
antlr.Parser
antlr.LLkParser
maj.MetaAspectJRecognizer
- All Implemented Interfaces:
- MetaAspectJTokenTypes
- public class MetaAspectJRecognizer
- extends antlr.LLkParser
- implements MetaAspectJTokenTypes
| Fields inherited from class antlr.Parser |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth |
| Fields inherited from interface maj.MetaAspectJTokenTypes |
ABSTRACT, ARRAY_DECLARATOR, ARRAY_INIT, ASPECTJ_ADVICE_AFTER, ASPECTJ_ADVICE_AROUND, ASPECTJ_ADVICE_BEFORE, ASPECTJ_ADVICE_SPEC, ASPECTJ_ARRAY_DECLARATOR, ASPECTJ_ARRAY_INIT, ASPECTJ_ASPECT_BLOCK, ASPECTJ_ASPECT_DEC, ASPECTJ_CASE_GROUP, ASPECTJ_CLASS_DEF, ASPECTJ_CONSTRUCTOR_PATTERN, ASPECTJ_CTOR_CALL, ASPECTJ_CTOR_DEF, ASPECTJ_DECLARE, ASPECTJ_ELIST, ASPECTJ_EMPTY_STAT, ASPECTJ_EXPR, ASPECTJ_EXTENDS_CLAUSE, ASPECTJ_FOR_CONDITION, ASPECTJ_FOR_INIT, ASPECTJ_FOR_ITERATOR, ASPECTJ_IMPLEMENTS_CLAUSE, ASPECTJ_IMPORT, ASPECTJ_INDEX_OP, ASPECTJ_INSTANCE_INIT, ASPECTJ_INTERFACE_DEF, ASPECTJ_LABELED_STAT, ASPECTJ_MEMBER_LIST, ASPECTJ_METHOD_CALL, ASPECTJ_METHOD_DEF, ASPECTJ_METHOD_PATTERN, ASPECTJ_MODIFIER_LIST, ASPECTJ_MODIFIER_LIST_PATTERN, ASPECTJ_OBJBLOCK, ASPECTJ_PACKAGE_DEF, ASPECTJ_PARAMETER_DEF, ASPECTJ_PARAMETERS, ASPECTJ_POINTCUT, ASPECTJ_POINTCUT_DEC, ASPECTJ_POST_DEC, ASPECTJ_POST_INC, ASPECTJ_PRIVILEGED, ASPECTJ_SIGNATURE, ASPECTJ_SIGNATURE_PATTERN, ASPECTJ_SLIST, ASPECTJ_STATEMENT, ASPECTJ_STATEMENT_LIST, ASPECTJ_STATIC_INIT, ASPECTJ_SUPER_CTOR_CALL, ASPECTJ_TYPE, ASPECTJ_TYPE_PATTERN, ASPECTJ_TYPECAST, ASPECTJ_UNARY_MINUS, ASPECTJ_UNARY_PLUS, ASPECTJ_VARDEC_PATTERN, ASPECTJ_VARIABLE_DEF, ASSIGN, BAND, BAND_ASSIGN, BLOCK, BNOT, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, CASE_GROUP, CHAR_LITERAL, CLASS_DEF, COLON, COMMA, CTOR_CALL, CTOR_DEF, DEC, DIV, DIV_ASSIGN, DOT, ELIST, ELLIPSIS, EMPTY_STAT, EOF, EQUAL, ESC, EXPONENT, EXPR, EXTENDS_CLAUSE, FINAL, FLOAT_SUFFIX, FOR_CONDITION, FOR_INIT, FOR_ITERATOR, GE, GT, HEX_DIGIT, IDENT, IMPLEMENTS_CLAUSE, IMPORT, INC, INDEX_OP, INFER_DECL, INFER_DECL_EXPR, INFER_TYPE_EXPR, INFER_TYPE_ID, INSTANCE_INIT, INTERFACE_DEF, LABELED_STAT, LAND, LBRACK, LCURLY, LE, LITERAL_AdviceDec, LITERAL_adviceexecution, LITERAL_after, LITERAL_args, LITERAL_around, LITERAL_aspect, LITERAL_AspectDec, LITERAL_AspectJCompUnitMember, LITERAL_AspectMember, LITERAL_before, LITERAL_boolean, LITERAL_break, LITERAL_byte, LITERAL_call, LITERAL_case, LITERAL_catch, LITERAL_cflow, LITERAL_cflowbelow, LITERAL_char, LITERAL_class, LITERAL_ClassDec, LITERAL_ClassMember, LITERAL_CompUnit, LITERAL_ConstructorDec, LITERAL_continue, LITERAL_declare, LITERAL_DeclareDec, LITERAL_default, LITERAL_do, LITERAL_double, LITERAL_else, LITERAL_error, LITERAL_execution, LITERAL_extends, LITERAL_false, LITERAL_finally, LITERAL_float, LITERAL_for, LITERAL_Formal, LITERAL_FormalDec, LITERAL_get, LITERAL_handler, LITERAL_IDENT, LITERAL_Identifier, LITERAL_if, LITERAL_implements, LITERAL_import, LITERAL_Import, LITERAL_infer, LITERAL_initialization, LITERAL_instanceof, LITERAL_int, LITERAL_interface, LITERAL_InterfaceDec, LITERAL_IntroducedDec, LITERAL_IntroduceDec, LITERAL_issingleton, LITERAL_JavaCompUnitMember, LITERAL_JavaExpr, LITERAL_long, LITERAL_MethodDec, LITERAL_MethodDecList, LITERAL_Modifiers, LITERAL_NamePattern, LITERAL_native, LITERAL_new, LITERAL_null, LITERAL_package, LITERAL_parents, LITERAL_Pcd, LITERAL_percflow, LITERAL_percflowbelow, LITERAL_pertarget, LITERAL_perthis, LITERAL_pointcut, LITERAL_PointcutDec, LITERAL_precedence, LITERAL_preinitialization, LITERAL_private, LITERAL_privileged, LITERAL_protected, LITERAL_public, LITERAL_return, LITERAL_returning, LITERAL_set, LITERAL_short, LITERAL_soft, LITERAL_static, LITERAL_staticinitialization, LITERAL_Stmt, LITERAL_super, LITERAL_switch, LITERAL_synchronized, LITERAL_target, LITERAL_this, LITERAL_threadsafe, LITERAL_throw, LITERAL_throwing, LITERAL_throws, LITERAL_transient, LITERAL_true, LITERAL_try, LITERAL_TypeDec, LITERAL_TypeSpec, LITERAL_VarDec, LITERAL_void, LITERAL_volatile, LITERAL_warning, LITERAL_while, LITERAL_within, LITERAL_withincode, LNOT, LOR, LPAREN, LT, MAJ_INFER_DECL, MAJ_PROMOTE, MAJ_PROMOTE_BOOLEAN, MAJ_PROMOTE_BYTE, MAJ_PROMOTE_CHAR, MAJ_PROMOTE_DOUBLE, MAJ_PROMOTE_FLOAT, MAJ_PROMOTE_INT, MAJ_PROMOTE_LONG, MAJ_PROMOTE_SHORT, MAJ_PROMOTE_STRING, MAJ_QUOTE_ADVICE_DEC, MAJ_QUOTE_ASPECT_DEC, MAJ_QUOTE_ASPECT_MEMBER_LIST, MAJ_QUOTE_ASPECTJ_COMP_UNIT_MEMBERS, MAJ_QUOTE_CLASS_DEC, MAJ_QUOTE_CLASS_MEMBER_LIST, MAJ_QUOTE_COMP_UNIT, MAJ_QUOTE_CONSTRUCTOR_DEC, MAJ_QUOTE_CONSTRUCTOR_DEC_LIST, MAJ_QUOTE_EMPTY, MAJ_QUOTE_EXPR, MAJ_QUOTE_EXPR_LIST, MAJ_QUOTE_IDENT, MAJ_QUOTE_IDENT_PATTERN, MAJ_QUOTE_IDENTIFIER, MAJ_QUOTE_IMPORT, MAJ_QUOTE_IMPORT_LIST, MAJ_QUOTE_INTERFACE_DEC, MAJ_QUOTE_INTERTYPE_DEC, MAJ_QUOTE_JAVA_COMP_UNIT_MEMBERS, MAJ_QUOTE_METHOD_DEC, MAJ_QUOTE_METHOD_DEC_LIST, MAJ_QUOTE_MODIFIERS, MAJ_QUOTE_PARAM_DEC, MAJ_QUOTE_PARAM_DEC_LIST, MAJ_QUOTE_POINTCUT, MAJ_QUOTE_POINTCUT_DEC, MAJ_QUOTE_STATEMENT, MAJ_QUOTE_STATEMENT_LIST, MAJ_QUOTE_TYPE_SPEC, MAJ_QUOTE_VAR_DEC, MAJ_QUOTE_VAR_DEC_LIST, MAJ_QUOTED_TYPED, MAJ_QUOTED_UNTYPED, MAJ_UNQUOTE_ADVICE_DEC, MAJ_UNQUOTE_ASPECT_DEC, MAJ_UNQUOTE_ASPECT_MEMBER_LIST, MAJ_UNQUOTE_ASPECTJ_COMP_UNIT_MEMBERS, MAJ_UNQUOTE_CLASS_DEC, MAJ_UNQUOTE_CLASS_MEMBER_LIST, MAJ_UNQUOTE_COMP_UNIT, MAJ_UNQUOTE_CONSTANT, MAJ_UNQUOTE_CONSTRUCTOR_DEC, MAJ_UNQUOTE_CONSTRUCTOR_DEC_LIST, MAJ_UNQUOTE_EMPTY_UNTYPED, MAJ_UNQUOTE_EXPR, MAJ_UNQUOTE_EXPR_LIST, MAJ_UNQUOTE_IDENT, MAJ_UNQUOTE_IDENT_PATTERN, MAJ_UNQUOTE_IDENTIFIER, MAJ_UNQUOTE_IMPORT, MAJ_UNQUOTE_IMPORT_LIST, MAJ_UNQUOTE_INTERFACE_DEC, MAJ_UNQUOTE_INTERTYPE_DEC, MAJ_UNQUOTE_JAVA_COMP_UNIT_MEMBERS, MAJ_UNQUOTE_METHOD_DEC, MAJ_UNQUOTE_METHOD_DEC_LIST, MAJ_UNQUOTE_MODIFIERS, MAJ_UNQUOTE_PARAM_DEC, MAJ_UNQUOTE_PARAM_DEC_LIST, MAJ_UNQUOTE_POINTCUT, MAJ_UNQUOTE_POINTCUT_DEC, MAJ_UNQUOTE_STATEMENT, MAJ_UNQUOTE_STATEMENT_LIST, MAJ_UNQUOTE_TYPE_SPEC, MAJ_UNQUOTE_VAR_DEC, MAJ_UNQUOTE_VAR_DEC_LIST, METHOD_CALL, METHOD_DEF, MINUS, MINUS_ASSIGN, ML_COMMENT, MOD, MOD_ASSIGN, MODIFIERS, NOT_EQUAL, NULL_TREE_LOOKAHEAD, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OBJBLOCK, PACKAGE_DEF, PARAMETER_DEF, PARAMETERS, PLUS, PLUS_ASSIGN, POST_DEC, POST_INC, QUESTION, QUOTE, QUOTED_TYPED_DECL, QUOTED_UNTYPED_DECL, RBRACK, RCURLY, RPAREN, SEMI, SL, SL_ASSIGN, SL_COMMENT, SLIST, SR, SR_ASSIGN, STAR, STAR_ASSIGN, STATIC_INIT, STRICTFP, STRING_LITERAL, SUPER_CTOR_CALL, TYPE, TYPECAST, UNARY_MINUS, UNARY_PLUS, UNQUOTE, VARIABLE_DEF, VOCAB, WS |
| Methods inherited from class antlr.LLkParser |
consume, LA, LT, traceIn, traceOut |
| Methods inherited from class antlr.Parser |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BASIC
public static final int BASIC
- See Also:
- Constant Field Values
ADVANCED
public static final int ADVANCED
- See Also:
- Constant Field Values
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6
_tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_7
_tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_8
_tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_9
_tokenSet_10
public static final antlr.collections.impl.BitSet _tokenSet_10
_tokenSet_11
public static final antlr.collections.impl.BitSet _tokenSet_11
_tokenSet_12
public static final antlr.collections.impl.BitSet _tokenSet_12
_tokenSet_13
public static final antlr.collections.impl.BitSet _tokenSet_13
_tokenSet_14
public static final antlr.collections.impl.BitSet _tokenSet_14
_tokenSet_15
public static final antlr.collections.impl.BitSet _tokenSet_15
_tokenSet_16
public static final antlr.collections.impl.BitSet _tokenSet_16
_tokenSet_17
public static final antlr.collections.impl.BitSet _tokenSet_17
_tokenSet_18
public static final antlr.collections.impl.BitSet _tokenSet_18
_tokenSet_19
public static final antlr.collections.impl.BitSet _tokenSet_19
_tokenSet_20
public static final antlr.collections.impl.BitSet _tokenSet_20
_tokenSet_21
public static final antlr.collections.impl.BitSet _tokenSet_21
_tokenSet_22
public static final antlr.collections.impl.BitSet _tokenSet_22
_tokenSet_23
public static final antlr.collections.impl.BitSet _tokenSet_23
_tokenSet_24
public static final antlr.collections.impl.BitSet _tokenSet_24
_tokenSet_25
public static final antlr.collections.impl.BitSet _tokenSet_25
_tokenSet_26
public static final antlr.collections.impl.BitSet _tokenSet_26
_tokenSet_27
public static final antlr.collections.impl.BitSet _tokenSet_27
_tokenSet_28
public static final antlr.collections.impl.BitSet _tokenSet_28
_tokenSet_29
public static final antlr.collections.impl.BitSet _tokenSet_29
_tokenSet_30
public static final antlr.collections.impl.BitSet _tokenSet_30
_tokenSet_31
public static final antlr.collections.impl.BitSet _tokenSet_31
_tokenSet_32
public static final antlr.collections.impl.BitSet _tokenSet_32
_tokenSet_33
public static final antlr.collections.impl.BitSet _tokenSet_33
_tokenSet_34
public static final antlr.collections.impl.BitSet _tokenSet_34
_tokenSet_35
public static final antlr.collections.impl.BitSet _tokenSet_35
_tokenSet_36
public static final antlr.collections.impl.BitSet _tokenSet_36
_tokenSet_37
public static final antlr.collections.impl.BitSet _tokenSet_37
_tokenSet_38
public static final antlr.collections.impl.BitSet _tokenSet_38
_tokenSet_39
public static final antlr.collections.impl.BitSet _tokenSet_39
_tokenSet_40
public static final antlr.collections.impl.BitSet _tokenSet_40
_tokenSet_41
public static final antlr.collections.impl.BitSet _tokenSet_41
_tokenSet_42
public static final antlr.collections.impl.BitSet _tokenSet_42
_tokenSet_43
public static final antlr.collections.impl.BitSet _tokenSet_43
_tokenSet_44
public static final antlr.collections.impl.BitSet _tokenSet_44
_tokenSet_45
public static final antlr.collections.impl.BitSet _tokenSet_45
_tokenSet_46
public static final antlr.collections.impl.BitSet _tokenSet_46
_tokenSet_47
public static final antlr.collections.impl.BitSet _tokenSet_47
_tokenSet_48
public static final antlr.collections.impl.BitSet _tokenSet_48
_tokenSet_49
public static final antlr.collections.impl.BitSet _tokenSet_49
_tokenSet_50
public static final antlr.collections.impl.BitSet _tokenSet_50
_tokenSet_51
public static final antlr.collections.impl.BitSet _tokenSet_51
_tokenSet_52
public static final antlr.collections.impl.BitSet _tokenSet_52
MetaAspectJRecognizer
protected MetaAspectJRecognizer(antlr.TokenBuffer tokenBuf,
int k)
MetaAspectJRecognizer
public MetaAspectJRecognizer(antlr.TokenBuffer tokenBuf)
MetaAspectJRecognizer
protected MetaAspectJRecognizer(antlr.TokenStream lexer,
int k)
MetaAspectJRecognizer
public MetaAspectJRecognizer(antlr.TokenStream lexer)
MetaAspectJRecognizer
public MetaAspectJRecognizer(antlr.ParserSharedInputState state)
setCheckType
public void setCheckType(boolean bCheck)
setParseType
public void setParseType(java.lang.String type)
setThrowTypeExcep
public void setThrowTypeExcep(boolean b)
setErrorReportLev
public void setErrorReportLev(int lev)
setOrigLine
public void setOrigLine(int l)
setScope
public void setScope(MajScope outerscope)
setQualifierTypeMap
public void setQualifierTypeMap(MajQualifierTypeMap map)
setParseQuoted
public void setParseQuoted(boolean b)
getEntryPoints
public static java.lang.String[] getEntryPoints()
setupQtMap
public void setupQtMap(boolean bSetEnv)
getErrors
public MajErrorStruct getErrors()
resetErrors
public void resetErrors()
setupEnv
public void setupEnv()
compilationUnit
public final void compilationUnit()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
packageDefinition
public final void packageDefinition()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
importDefinition
public final void importDefinition()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
typeDefinition
public final void typeDefinition()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
identifier
public final MajIdentifier identifier()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
identifierStar
public final void identifierStar()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
modifiers
public final void modifiers()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
classDefinition
public final MajCompoundType classDefinition(antlr.collections.AST modifiers)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
interfaceDefinition
public final void interfaceDefinition(antlr.collections.AST modifiers)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
declaration
public final MajVariable[] declaration()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
typeSpec
public final MajType typeSpec(boolean addImagNode)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
variableDefinitions
public final MajVariable[] variableDefinitions(antlr.collections.AST mods,
antlr.collections.AST t,
MajType varType)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
inferAspectJDeclFP
public final void inferAspectJDeclFP()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
classTypeSpec
public final MajType classTypeSpec(boolean addImagNode)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
builtInTypeSpec
public final MajType builtInTypeSpec(boolean addImagNode)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
builtInType
public final MajType builtInType()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
type
public final MajType type()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
entryPoints
public final MajType entryPoints()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
modifier
public final void modifier()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
superClassClause
public final MajIdentifier superClassClause()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
implementsClause
public final void implementsClause()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
classBlock
public final void classBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
interfaceExtends
public final void interfaceExtends()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
member
public final void member()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
ctorHead
public final MajVariable[] ctorHead(antlr.collections.AST mods)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
constructorBody
public final void constructorBody(MajVariable[] argVars)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
parameterDeclarationList
public final MajVariable[] parameterDeclarationList()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
declaratorBrackets
public final MajType declaratorBrackets(antlr.collections.AST typ,
MajType argType)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
throwsClause
public final void throwsClause()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
compoundStatement
public final void compoundStatement(MajVariable[] args)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
explicitConstructorInvocation
public final void explicitConstructorInvocation()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
statement
public final void statement()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
argList
public final MajType[] argList()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
variableDeclarator
public final MajVariable variableDeclarator(antlr.collections.AST mods,
antlr.collections.AST t,
MajType varType)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
varInitializer
public final MajType varInitializer(MajType varType)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
initializer
public final MajType initializer(MajType varType)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
arrayInitializer
public final MajType arrayInitializer(MajType varType)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
expression
public final MajType expression(MajType varType)
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
parameterDeclaration
public final MajVariable parameterDeclaration()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
parameterModifier
public final void parameterModifier()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
forInit
public final MajVariable[] forInit()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
forCond
public final void forCond()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws: