| Modifier and Type | Field and Description |
|---|---|
| private Deque | |
| private int | |
| private Token | |
| private final String | |
| private Token | |
| private Deque | |
| private final int | |
| private int | |
| private Deque | |
| private int | |
| private Deque | |
| private Deque | |
| private String | |
| private int | |
| private boolean | |
| private boolean | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | createAndAddPendingToken(final int ttype, final int channel, final String text, final Token sampleToken)
|
| private void | |
| private void | |
| private String | |
| private int | |
| private String | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public Token | nextToken()
Overrides org. Implements org. Return a token from this source; i.e., match a token on the char stream. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| braceExpressionStack | back to summary |
|---|---|
| private Deque<String> braceExpressionStack | |
| curLexerMode | back to summary |
|---|---|
| private int curLexerMode | |
| curToken | back to summary |
|---|---|
| private Token curToken | |
| ERR_TXT | back to summary |
|---|---|
| private final String ERR_TXT | |
| ffgToken | back to summary |
|---|---|
| private Token ffgToken | |
| indentLengthStack | back to summary |
|---|---|
| private Deque<Integer> indentLengthStack | |
| INVALID_LENGTH | back to summary |
|---|---|
| private final int INVALID_LENGTH | |
| lastPendingTokenTypeFromDefaultChannel | back to summary |
|---|---|
| private int lastPendingTokenTypeFromDefaultChannel | |
| lexerModeStack | back to summary |
|---|---|
| private Deque<Integer> lexerModeStack | |
| opened | back to summary |
|---|---|
| private int opened | |
| paren_or_bracket_openedStack | back to summary |
|---|---|
| private Deque<Integer> paren_or_bracket_openedStack | |
| pendingTokens | back to summary |
|---|---|
| private Deque<Token> pendingTokens | |
| prevBraceExpression | back to summary |
|---|---|
| private String prevBraceExpression | |
| previousPendingTokenType | back to summary |
|---|---|
| private int previousPendingTokenType | |
| wasIndentationMixedWithSpacesAndTabs | back to summary |
|---|---|
| private boolean wasIndentationMixedWithSpacesAndTabs | |
| wasSpaceIndentation | back to summary |
|---|---|
| private boolean wasSpaceIndentation | |
| wasTabIndentation | back to summary |
|---|---|
| private boolean wasTabIndentation | |
| PythonLexerBase | back to summary |
|---|---|
| protected PythonLexerBase(CharStream input) | |
| addPendingToken | back to summary |
|---|---|
| private void addPendingToken(final Token tkn) | |
| appendToBraceExpression | back to summary |
|---|---|
| private void appendToBraceExpression(String text) | |
| checkCurToken | back to summary |
|---|---|
| private void checkCurToken() | |
| checkNextToken | back to summary |
|---|---|
| private void checkNextToken() | |
| createAndAddPendingToken | back to summary |
|---|---|
| private void createAndAddPendingToken(final int ttype, final int channel, final String text, final Token sampleToken) | |
| createNewCurToken | back to summary |
|---|---|
| private void createNewCurToken(final int type, final String text, final int channel) | |
| decrementBraceStack | back to summary |
|---|---|
| private void decrementBraceStack() | |
| getEncodingName | back to summary |
|---|---|
| private String getEncodingName(final String commentText) | |
| getIndentationLength | back to summary |
|---|---|
| private int getIndentationLength(final String indentText) | |
| getLastTwoCharsOfTheCurTokenText | back to summary |
|---|---|
| private String getLastTwoCharsOfTheCurTokenText() | |
| handleCOLONEQUALtokenInFString | back to summary |
|---|---|
| private void handleCOLONEQUALtokenInFString() | |
| handleEOFtoken | back to summary |
|---|---|
| private void handleEOFtoken() | |
| handleFORMAT_SPECIFICATION_MODE | back to summary |
|---|---|
| private void handleFORMAT_SPECIFICATION_MODE() | |
| handleFSTRING_MIDDLEtokenWithDoubleBrace | back to summary |
|---|---|
| private void handleFSTRING_MIDDLEtokenWithDoubleBrace() | |
| handleFSTRING_MIDDLEtokenWithQuoteAndLBrace | back to summary |
|---|---|
| private void handleFSTRING_MIDDLEtokenWithQuoteAndLBrace() | |
| handleNEWLINEtoken | back to summary |
|---|---|
| private void handleNEWLINEtoken() | |
| handleStartOfInput | back to summary |
|---|---|
| private void handleStartOfInput() | |
| hideAndAddPendingToken | back to summary |
|---|---|
| private void hideAndAddPendingToken(final Token tkn) | |
| incrementBraceStack | back to summary |
|---|---|
| private void incrementBraceStack() | |
| init | back to summary |
|---|---|
| private void init() | |
| insertENCODINGtoken | back to summary |
|---|---|
| private void insertENCODINGtoken() | |
| insertIndentOrDedentToken | back to summary |
|---|---|
| private void insertIndentOrDedentToken(final int indentLength) | |
| insertLeadingIndentToken | back to summary |
|---|---|
| private void insertLeadingIndentToken() | |
| insertTrailingTokens | back to summary |
|---|---|
| private void insertTrailingTokens() | |
| nextToken | back to summary |
|---|---|
| public Token nextToken() Overrides org. Implements org. Doc from org. Return a token from this source; i.e., match a token on the char stream.
| |
| popByBRACE | back to summary |
|---|---|
| private void popByBRACE() | |
| popLexerMode | back to summary |
|---|---|
| private void popLexerMode() | |
| pushLexerMode | back to summary |
|---|---|
| private void pushLexerMode(final int mode) | |
| reportError | back to summary |
|---|---|
| private void reportError(final String errMsg) | |
| reportLexerError | back to summary |
|---|---|
| private void reportLexerError(final String errMsg) | |
| reset | back to summary |
|---|---|
| public void reset() Overrides org.
| |
| setCurrentAndFollowingTokens | back to summary |
|---|---|
| private void setCurrentAndFollowingTokens() | |
| setLexerModeAfterRBRACEtoken | back to summary |
|---|---|
| private void setLexerModeAfterRBRACEtoken() | |
| setLexerModeByCOLONorCOLONEQUALtoken | back to summary |
|---|---|
| private void setLexerModeByCOLONorCOLONEQUALtoken() | |
| setLexerModeByFSTRING_STARTtoken | back to summary |
|---|---|
| private void setLexerModeByFSTRING_STARTtoken() | |
| trimLastCharAddPendingTokenSetCurToken | back to summary |
|---|---|
| private void trimLastCharAddPendingTokenSetCurToken(final int type, final String text, final int channel) | |