at.dms.ksm
Class KsmParser
java.lang.Object
|
+--antlr.Parser
|
+--antlr.LLkParser
|
+--at.dms.ksm.KsmParser
- All Implemented Interfaces:
- KsmTokenTypes
- public class KsmParser
- extends antlr.LLkParser
- implements KsmTokenTypes
Fields inherited from class antlr.LLkParser |
k |
Fields inherited from class antlr.Parser |
astFactory, inputState, returnAST, tokenNames, traceDepth |
Fields inherited from interface at.dms.ksm.KsmTokenTypes |
CLINIT, COLON, COMMA, DOT, EOF, EQUAL, IDENT, INIT, INT_LITERAL, LBRACE, LBRACK, LITERAL_abstract, LITERAL_class, LITERAL_extends, LITERAL_final, LITERAL_implements, LITERAL_interface, LITERAL_native, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_static, LITERAL_strictfp, LITERAL_synchronized, LITERAL_throws, LITERAL_transient, LITERAL_volatile, LONG_LITERAL, LPAREN, NULL_TREE_LOOKAHEAD, NUM_DOUBLE, NUM_FLOAT, QUOTED_IDENT, RBRACE, RBRACK, RPAREN, SEMI, STRING_LITERAL |
Constructor Summary |
|
KsmParser(antlr.ParserSharedInputState state)
|
|
KsmParser(antlr.TokenBuffer tokenBuf)
|
protected |
KsmParser(antlr.TokenBuffer tokenBuf,
int k)
|
|
KsmParser(antlr.TokenStream lexer)
|
protected |
KsmParser(antlr.TokenStream lexer,
int k)
|
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, 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 |
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
KsmParser
protected KsmParser(antlr.TokenBuffer tokenBuf,
int k)
KsmParser
public KsmParser(antlr.TokenBuffer tokenBuf)
KsmParser
protected KsmParser(antlr.TokenStream lexer,
int k)
KsmParser
public KsmParser(antlr.TokenStream lexer)
KsmParser
public KsmParser(antlr.ParserSharedInputState state)
aCompilationUnit
public final ClassInfo aCompilationUnit()
throws antlr.RecognitionException,
antlr.TokenStreamException
aSourceSpec
public final java.lang.String aSourceSpec()
throws antlr.RecognitionException,
antlr.TokenStreamException
aAccess
public final short aAccess()
throws antlr.RecognitionException,
antlr.TokenStreamException
aTypeSpec
public final boolean aTypeSpec()
throws antlr.RecognitionException,
antlr.TokenStreamException
aClassSignature
public final java.lang.String aClassSignature(boolean arrayAllowed)
throws antlr.RecognitionException,
antlr.TokenStreamException
aSuperSpec
public final java.lang.String aSuperSpec()
throws antlr.RecognitionException,
antlr.TokenStreamException
aImplementsSpec
public final void aImplementsSpec(java.util.List interfaces)
throws antlr.RecognitionException,
antlr.TokenStreamException
aMemberSpec
public final void aMemberSpec(java.util.List fields,
java.util.List methods)
throws antlr.RecognitionException,
antlr.TokenStreamException
aStringLiteral
public final java.lang.String aStringLiteral()
throws antlr.RecognitionException,
antlr.TokenStreamException
aFieldSignature
public final java.lang.String aFieldSignature()
throws antlr.RecognitionException,
antlr.TokenStreamException
aName
public final java.lang.String aName()
throws antlr.RecognitionException,
antlr.TokenStreamException
aFieldSpec
public final FieldInfo aFieldSpec(short access,
java.lang.String type,
java.lang.String name)
throws antlr.RecognitionException,
antlr.TokenStreamException
aMethodSpec
public final MethodInfo aMethodSpec(short access,
java.lang.String type,
java.lang.String name)
throws antlr.RecognitionException,
antlr.TokenStreamException
aFieldValue
public final java.lang.Object aFieldValue()
throws antlr.RecognitionException,
antlr.TokenStreamException
aLiteral
public final java.lang.Object aLiteral()
throws antlr.RecognitionException,
antlr.TokenStreamException
aMethodSignature
public final java.lang.String aMethodSignature(java.lang.String returnType)
throws antlr.RecognitionException,
antlr.TokenStreamException
aThrowsSpec
public final java.lang.String[] aThrowsSpec()
throws antlr.RecognitionException,
antlr.TokenStreamException
aMethodBody
public final MethodBody aMethodBody()
throws antlr.RecognitionException,
antlr.TokenStreamException
aDirective
public final void aDirective(MethodBody methodBody)
throws antlr.RecognitionException,
antlr.TokenStreamException
aLabelDeclaration
public final void aLabelDeclaration(MethodBody methodBody)
throws antlr.RecognitionException,
antlr.TokenStreamException
aInstruction
public final void aInstruction(MethodBody methodBody)
throws antlr.RecognitionException,
antlr.TokenStreamException
aVariableDirective
public final void aVariableDirective(MethodBody methodBody)
throws antlr.RecognitionException,
antlr.TokenStreamException
aLineDirective
public final void aLineDirective(MethodBody methodBody)
throws antlr.RecognitionException,
antlr.TokenStreamException
aCatchDirective
public final void aCatchDirective(MethodBody methodBody)
throws antlr.RecognitionException,
antlr.TokenStreamException
aInteger
public final int aInteger()
throws antlr.RecognitionException,
antlr.TokenStreamException
aIdentifier
public final java.lang.String aIdentifier()
throws antlr.RecognitionException,
antlr.TokenStreamException
aLabelRef
public final LabelReference aLabelRef()
throws antlr.RecognitionException,
antlr.TokenStreamException
aNoArgInstruction
public final Instruction aNoArgInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aPushLiteralInstruction
public final Instruction aPushLiteralInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aFieldRefInstruction
public final Instruction aFieldRefInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aMethodRefInstruction
public final Instruction aMethodRefInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aClassRefInstruction
public final Instruction aClassRefInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aJumpInstruction
public final Instruction aJumpInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aLocalVarInstruction
public final Instruction aLocalVarInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aNewarrayInstruction
public final Instruction aNewarrayInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aMultiarrayInstruction
public final Instruction aMultiarrayInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aInvokeinterfaceInstruction
public final Instruction aInvokeinterfaceInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aIincInstruction
public final Instruction aIincInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aSwitchInstruction
public final Instruction aSwitchInstruction()
throws antlr.RecognitionException,
antlr.TokenStreamException
aNoArgOpcode
public final int aNoArgOpcode()
throws antlr.RecognitionException,
antlr.TokenStreamException
aDoubleLiteral
public final java.lang.Double aDoubleLiteral()
throws antlr.RecognitionException,
antlr.TokenStreamException
aFloatLiteral
public final java.lang.Float aFloatLiteral()
throws antlr.RecognitionException,
antlr.TokenStreamException
aIntegerLiteral
public final java.lang.Integer aIntegerLiteral()
throws antlr.RecognitionException,
antlr.TokenStreamException
aLongLiteral
public final java.lang.Long aLongLiteral()
throws antlr.RecognitionException,
antlr.TokenStreamException
aFieldRefOpcode
public final int aFieldRefOpcode()
throws antlr.RecognitionException,
antlr.TokenStreamException
aMethodRefOpcode
public final int aMethodRefOpcode()
throws antlr.RecognitionException,
antlr.TokenStreamException
aClassRefOpcode
public final int aClassRefOpcode()
throws antlr.RecognitionException,
antlr.TokenStreamException
aJumpOpcode
public final int aJumpOpcode()
throws antlr.RecognitionException,
antlr.TokenStreamException
aLocalVarOpcode
public final int aLocalVarOpcode()
throws antlr.RecognitionException,
antlr.TokenStreamException