Class MmuLexer
- java.lang.Object
-
- org.antlr.runtime.BaseRecognizer
-
- org.antlr.runtime.Lexer
-
- ru.ispras.microtesk.mmu.translator.grammar.MmuLexer
-
- All Implemented Interfaces:
org.antlr.runtime.TokenSource
public class MmuLexer extends org.antlr.runtime.Lexer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
MmuLexer.DFA1
-
Field Summary
Fields Modifier and Type Field Description static int
AMPER
static int
AND
static int
ASSERT
static int
ASSIGN
static int
BIN_DIG_LST
static int
BIN_DIGIT
static int
BINARY_CONST
static int
CARD_CONST
static int
CAST
static int
COERCE
static int
COLON
static int
COMMA
MmuLexer_CommonLexer
commonLexer
protected MmuLexer.DFA1
dfa1
static int
DIGIT
static int
DIV
static int
DOT
static int
DOUBLE_COLON
static int
DOUBLE_DOT
static int
DOUBLE_STAR
static int
ELSE
static int
ELSEIF
static int
ENDIF
static int
EOF
static int
EQ
static int
EXCEPTION
static int
FLOAT_TO_FLOAT
static int
FLOAT_TO_INT
static int
FORMAT
static int
FUNCTION
static int
GEQ
static int
HEX_CONST
static int
HEX_DIG_LST
static int
HEX_DIGIT
static int
ID
static int
IF
static int
INT_TO_FLOAT
static int
IS_NAN
static int
IS_SIGN_NAN
static int
IS_TYPE
static int
LEFT_BRACE
static int
LEFT_BROCKET
static int
LEFT_HOOK
static int
LEFT_PARENTH
static int
LEFT_SHIFT
static int
LEQ
static int
LETTER
static int
LINE
static int
LOWER
static int
MARK
static int
MINUS
static int
MMU
static int
MMU_ADDRESS
static int
MMU_BUFFER
static int
MMU_ENTRY
static int
MMU_EXTERN
static int
MMU_INDEX
static int
MMU_LET
static int
MMU_MATCH
static int
MMU_NEXT
static int
MMU_OP
static int
MMU_POLICY
static int
MMU_RANGE
static int
MMU_SEGMENT
static int
MMU_SETS
static int
MMU_STRUCT
static int
MMU_VAR
static int
MMU_VIEWOF
static int
MMU_WAYS
static int
MUL
static int
MULTI_COMMENT
static int
NEQ
static int
NEWLINE
static int
NONCONTROL
static int
NOT
static int
OR
static int
PLUS
static int
PP_DEFINE
static int
PP_ELSE
static int
PP_ENDIF
static int
PP_EXPAND
static int
PP_FILENAME
static int
PP_IFDEF
static int
PP_IFNDEF
static int
PP_INCLUDE
static int
PP_UNDEF
static int
REM
static int
REST
static int
RETURN
static int
REVISION
static int
RIGHT_BRACE
static int
RIGHT_BROCKET
static int
RIGHT_HOOK
static int
RIGHT_PARENTH
static int
RIGHT_SHIFT
static int
ROTATE_LEFT
static int
ROTATE_RIGHT
static int
ROUND
static int
SEMI
static int
SHARED
static int
SHARP
static int
SIGN_EXTEND
static int
SINGLE_COMMENT
static int
SIZE_OF
static int
SPACE
static int
SQRT
static int
STRING_CONST
static int
SYMBOL
static int
THEN
static int
TILDE
static int
Tokens
static int
TRACE
static int
TYPE_OF
static int
UNDEFINED
static int
UNPREDICTED
static int
UP_ARROW
static int
UPPER
static int
VERT_BAR
static int
WHITESPACE
static int
ZERO_EXTEND
-
Constructor Summary
Constructors Constructor Description MmuLexer()
MmuLexer(org.antlr.runtime.CharStream input)
MmuLexer(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
MmuLexer(org.antlr.runtime.CharStream chars, Preprocessor pp, SymbolTable symbols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.antlr.runtime.Lexer[]
getDelegates()
java.lang.String
getGrammarFileName()
void
mMMU()
void
mMMU_ADDRESS()
void
mMMU_BUFFER()
void
mMMU_ENTRY()
void
mMMU_EXTERN()
void
mMMU_INDEX()
void
mMMU_LET()
void
mMMU_MATCH()
void
mMMU_NEXT()
void
mMMU_OP()
void
mMMU_POLICY()
void
mMMU_RANGE()
void
mMMU_SEGMENT()
void
mMMU_SETS()
void
mMMU_STRUCT()
void
mMMU_VAR()
void
mMMU_VIEWOF()
void
mMMU_WAYS()
void
mTokens()
-
Methods inherited from class org.antlr.runtime.Lexer
emit, emit, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getCharStream, getEOFToken, getErrorMessage, getLine, getSourceName, getText, match, match, matchAny, matchRange, nextToken, recover, reportError, reset, setCharStream, setText, skip, traceIn, traceOut
-
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, failed, getBacktrackingLevel, getCurrentInputSymbol, getErrorHeader, getMissingSymbol, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, getTokenNames, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, setBacktrackingLevel, toStrings, traceIn, traceOut
-
-
-
-
Field Detail
-
EOF
public static final int EOF
- See Also:
- Constant Field Values
-
AMPER
public static final int AMPER
- See Also:
- Constant Field Values
-
AND
public static final int AND
- See Also:
- Constant Field Values
-
ASSERT
public static final int ASSERT
- See Also:
- Constant Field Values
-
ASSIGN
public static final int ASSIGN
- See Also:
- Constant Field Values
-
BINARY_CONST
public static final int BINARY_CONST
- See Also:
- Constant Field Values
-
BIN_DIGIT
public static final int BIN_DIGIT
- See Also:
- Constant Field Values
-
BIN_DIG_LST
public static final int BIN_DIG_LST
- See Also:
- Constant Field Values
-
CARD_CONST
public static final int CARD_CONST
- See Also:
- Constant Field Values
-
CAST
public static final int CAST
- See Also:
- Constant Field Values
-
COERCE
public static final int COERCE
- See Also:
- Constant Field Values
-
COLON
public static final int COLON
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
DIGIT
public static final int DIGIT
- See Also:
- Constant Field Values
-
DIV
public static final int DIV
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
DOUBLE_COLON
public static final int DOUBLE_COLON
- See Also:
- Constant Field Values
-
DOUBLE_DOT
public static final int DOUBLE_DOT
- See Also:
- Constant Field Values
-
DOUBLE_STAR
public static final int DOUBLE_STAR
- See Also:
- Constant Field Values
-
ELSE
public static final int ELSE
- See Also:
- Constant Field Values
-
ELSEIF
public static final int ELSEIF
- See Also:
- Constant Field Values
-
ENDIF
public static final int ENDIF
- See Also:
- Constant Field Values
-
EQ
public static final int EQ
- See Also:
- Constant Field Values
-
EXCEPTION
public static final int EXCEPTION
- See Also:
- Constant Field Values
-
FLOAT_TO_FLOAT
public static final int FLOAT_TO_FLOAT
- See Also:
- Constant Field Values
-
FLOAT_TO_INT
public static final int FLOAT_TO_INT
- See Also:
- Constant Field Values
-
FORMAT
public static final int FORMAT
- See Also:
- Constant Field Values
-
FUNCTION
public static final int FUNCTION
- See Also:
- Constant Field Values
-
GEQ
public static final int GEQ
- See Also:
- Constant Field Values
-
HEX_CONST
public static final int HEX_CONST
- See Also:
- Constant Field Values
-
HEX_DIGIT
public static final int HEX_DIGIT
- See Also:
- Constant Field Values
-
HEX_DIG_LST
public static final int HEX_DIG_LST
- See Also:
- Constant Field Values
-
ID
public static final int ID
- See Also:
- Constant Field Values
-
IF
public static final int IF
- See Also:
- Constant Field Values
-
INT_TO_FLOAT
public static final int INT_TO_FLOAT
- See Also:
- Constant Field Values
-
IS_NAN
public static final int IS_NAN
- See Also:
- Constant Field Values
-
IS_SIGN_NAN
public static final int IS_SIGN_NAN
- See Also:
- Constant Field Values
-
IS_TYPE
public static final int IS_TYPE
- See Also:
- Constant Field Values
-
LEFT_BRACE
public static final int LEFT_BRACE
- See Also:
- Constant Field Values
-
LEFT_BROCKET
public static final int LEFT_BROCKET
- See Also:
- Constant Field Values
-
LEFT_HOOK
public static final int LEFT_HOOK
- See Also:
- Constant Field Values
-
LEFT_PARENTH
public static final int LEFT_PARENTH
- See Also:
- Constant Field Values
-
LEFT_SHIFT
public static final int LEFT_SHIFT
- See Also:
- Constant Field Values
-
LEQ
public static final int LEQ
- See Also:
- Constant Field Values
-
LETTER
public static final int LETTER
- See Also:
- Constant Field Values
-
LINE
public static final int LINE
- See Also:
- Constant Field Values
-
LOWER
public static final int LOWER
- See Also:
- Constant Field Values
-
MARK
public static final int MARK
- See Also:
- Constant Field Values
-
MINUS
public static final int MINUS
- See Also:
- Constant Field Values
-
MMU
public static final int MMU
- See Also:
- Constant Field Values
-
MMU_ADDRESS
public static final int MMU_ADDRESS
- See Also:
- Constant Field Values
-
MMU_BUFFER
public static final int MMU_BUFFER
- See Also:
- Constant Field Values
-
MMU_ENTRY
public static final int MMU_ENTRY
- See Also:
- Constant Field Values
-
MMU_EXTERN
public static final int MMU_EXTERN
- See Also:
- Constant Field Values
-
MMU_INDEX
public static final int MMU_INDEX
- See Also:
- Constant Field Values
-
MMU_LET
public static final int MMU_LET
- See Also:
- Constant Field Values
-
MMU_MATCH
public static final int MMU_MATCH
- See Also:
- Constant Field Values
-
MMU_NEXT
public static final int MMU_NEXT
- See Also:
- Constant Field Values
-
MMU_OP
public static final int MMU_OP
- See Also:
- Constant Field Values
-
MMU_POLICY
public static final int MMU_POLICY
- See Also:
- Constant Field Values
-
MMU_RANGE
public static final int MMU_RANGE
- See Also:
- Constant Field Values
-
MMU_SEGMENT
public static final int MMU_SEGMENT
- See Also:
- Constant Field Values
-
MMU_SETS
public static final int MMU_SETS
- See Also:
- Constant Field Values
-
MMU_STRUCT
public static final int MMU_STRUCT
- See Also:
- Constant Field Values
-
MMU_VAR
public static final int MMU_VAR
- See Also:
- Constant Field Values
-
MMU_VIEWOF
public static final int MMU_VIEWOF
- See Also:
- Constant Field Values
-
MMU_WAYS
public static final int MMU_WAYS
- See Also:
- Constant Field Values
-
MUL
public static final int MUL
- See Also:
- Constant Field Values
-
MULTI_COMMENT
public static final int MULTI_COMMENT
- See Also:
- Constant Field Values
-
NEQ
public static final int NEQ
- See Also:
- Constant Field Values
-
NEWLINE
public static final int NEWLINE
- See Also:
- Constant Field Values
-
NONCONTROL
public static final int NONCONTROL
- See Also:
- Constant Field Values
-
NOT
public static final int NOT
- See Also:
- Constant Field Values
-
OR
public static final int OR
- See Also:
- Constant Field Values
-
PLUS
public static final int PLUS
- See Also:
- Constant Field Values
-
PP_DEFINE
public static final int PP_DEFINE
- See Also:
- Constant Field Values
-
PP_ELSE
public static final int PP_ELSE
- See Also:
- Constant Field Values
-
PP_ENDIF
public static final int PP_ENDIF
- See Also:
- Constant Field Values
-
PP_EXPAND
public static final int PP_EXPAND
- See Also:
- Constant Field Values
-
PP_FILENAME
public static final int PP_FILENAME
- See Also:
- Constant Field Values
-
PP_IFDEF
public static final int PP_IFDEF
- See Also:
- Constant Field Values
-
PP_IFNDEF
public static final int PP_IFNDEF
- See Also:
- Constant Field Values
-
PP_INCLUDE
public static final int PP_INCLUDE
- See Also:
- Constant Field Values
-
PP_UNDEF
public static final int PP_UNDEF
- See Also:
- Constant Field Values
-
REM
public static final int REM
- See Also:
- Constant Field Values
-
REST
public static final int REST
- See Also:
- Constant Field Values
-
RETURN
public static final int RETURN
- See Also:
- Constant Field Values
-
REVISION
public static final int REVISION
- See Also:
- Constant Field Values
-
RIGHT_BRACE
public static final int RIGHT_BRACE
- See Also:
- Constant Field Values
-
RIGHT_BROCKET
public static final int RIGHT_BROCKET
- See Also:
- Constant Field Values
-
RIGHT_HOOK
public static final int RIGHT_HOOK
- See Also:
- Constant Field Values
-
RIGHT_PARENTH
public static final int RIGHT_PARENTH
- See Also:
- Constant Field Values
-
RIGHT_SHIFT
public static final int RIGHT_SHIFT
- See Also:
- Constant Field Values
-
ROTATE_LEFT
public static final int ROTATE_LEFT
- See Also:
- Constant Field Values
-
ROTATE_RIGHT
public static final int ROTATE_RIGHT
- See Also:
- Constant Field Values
-
ROUND
public static final int ROUND
- See Also:
- Constant Field Values
-
SEMI
public static final int SEMI
- See Also:
- Constant Field Values
-
SHARED
public static final int SHARED
- See Also:
- Constant Field Values
-
SHARP
public static final int SHARP
- See Also:
- Constant Field Values
-
SIGN_EXTEND
public static final int SIGN_EXTEND
- See Also:
- Constant Field Values
-
SINGLE_COMMENT
public static final int SINGLE_COMMENT
- See Also:
- Constant Field Values
-
SIZE_OF
public static final int SIZE_OF
- See Also:
- Constant Field Values
-
SPACE
public static final int SPACE
- See Also:
- Constant Field Values
-
SQRT
public static final int SQRT
- See Also:
- Constant Field Values
-
STRING_CONST
public static final int STRING_CONST
- See Also:
- Constant Field Values
-
SYMBOL
public static final int SYMBOL
- See Also:
- Constant Field Values
-
THEN
public static final int THEN
- See Also:
- Constant Field Values
-
TILDE
public static final int TILDE
- See Also:
- Constant Field Values
-
TRACE
public static final int TRACE
- See Also:
- Constant Field Values
-
TYPE_OF
public static final int TYPE_OF
- See Also:
- Constant Field Values
-
Tokens
public static final int Tokens
- See Also:
- Constant Field Values
-
UNDEFINED
public static final int UNDEFINED
- See Also:
- Constant Field Values
-
UNPREDICTED
public static final int UNPREDICTED
- See Also:
- Constant Field Values
-
UPPER
public static final int UPPER
- See Also:
- Constant Field Values
-
UP_ARROW
public static final int UP_ARROW
- See Also:
- Constant Field Values
-
VERT_BAR
public static final int VERT_BAR
- See Also:
- Constant Field Values
-
WHITESPACE
public static final int WHITESPACE
- See Also:
- Constant Field Values
-
ZERO_EXTEND
public static final int ZERO_EXTEND
- See Also:
- Constant Field Values
-
commonLexer
public MmuLexer_CommonLexer commonLexer
-
dfa1
protected MmuLexer.DFA1 dfa1
-
-
Constructor Detail
-
MmuLexer
public MmuLexer(org.antlr.runtime.CharStream chars, Preprocessor pp, SymbolTable symbols)
-
MmuLexer
public MmuLexer()
-
MmuLexer
public MmuLexer(org.antlr.runtime.CharStream input)
-
MmuLexer
public MmuLexer(org.antlr.runtime.CharStream input, org.antlr.runtime.RecognizerSharedState state)
-
-
Method Detail
-
getDelegates
public org.antlr.runtime.Lexer[] getDelegates()
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Overrides:
getGrammarFileName
in classorg.antlr.runtime.BaseRecognizer
-
mMMU_LET
public final void mMMU_LET() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_EXTERN
public final void mMMU_EXTERN() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_STRUCT
public final void mMMU_STRUCT() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_ADDRESS
public final void mMMU_ADDRESS() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_SEGMENT
public final void mMMU_SEGMENT() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_RANGE
public final void mMMU_RANGE() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_BUFFER
public final void mMMU_BUFFER() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_VIEWOF
public final void mMMU_VIEWOF() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_WAYS
public final void mMMU_WAYS() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_SETS
public final void mMMU_SETS() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_ENTRY
public final void mMMU_ENTRY() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_INDEX
public final void mMMU_INDEX() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_MATCH
public final void mMMU_MATCH() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_POLICY
public final void mMMU_POLICY() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_NEXT
public final void mMMU_NEXT() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU
public final void mMMU() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_VAR
public final void mMMU_VAR() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mMMU_OP
public final void mMMU_OP() throws org.antlr.runtime.RecognitionException
- Throws:
org.antlr.runtime.RecognitionException
-
mTokens
public void mTokens() throws org.antlr.runtime.RecognitionException
- Specified by:
mTokens
in classorg.antlr.runtime.Lexer
- Throws:
org.antlr.runtime.RecognitionException
-
-