public class CSSGenericAtRuleLexer extends CSSLexer implements CSSRuleTokens
AbstractLexer.DefaultLexerToken
_mEndOffset, _mLastToken, _mLineMap, _mReader, _mStartOffset, _mUseLastToken
skipComments
currentPos, textBuffer
TK_CSS_COUNTER_STYLE_RULE_NAME, TK_CSS_DECLARATIONS, TK_CSS_FUNCTION, TK_CSS_GENERIC_AT_RULE_KEYWORD, TK_CSS_GENERIC_AT_RULE_TAG, TK_CSS_INVALID_PROPERTY, TK_CSS_MEDIUM, TK_CSS_PROPERTY, TK_CSS_SELECTOR, TK_CSS_UNIT
TK_CSS_BLOCK, TK_CSS_RULE_SET
ANY, AT_KEYWORD, BEGINS, CARET, CDC, CDO, CH, CHARSET_SYMBOL, CM, COLON, COMMA, COMMENT, CONTAINS, COUNTER_STYLE_SYMBOL, DASHMATCH, DB, DEG, DIMENSION, DIVIDE, DOLLAR, DOT, DOUBLE_COLON, DPCM, DPI, DPPX, EM, ENDS, EOF, EQUAL, ERROR, EX, FONT_FACE_SYMBOL, FR, FUNCTION, GRAD, HASH, HZ, IDENTIFIER, IMPORT_SYMBOL, IMPORTANT_SYMBOL, IN, INCLUDES, INTEGER, KHZ, LEFT_BRACE, LEFT_BRACKET, LEFT_CURLY_BRACE, MEDIA_SYMBOL, MINUS, MM, MS, NAMESPACE_MATCH, NAMESPACE_SYMBOL, PAGE_SYMBOL, PC, PERCENTAGE, PLUS, PRECEDE, PT, PX, RAD, REAL, REGION_SYMBOL, REM, RIGHT_BRACE, RIGHT_BRACKET, RIGHT_CURLY_BRACE, S, SEMI_COLON, SPACE, ST, STRING, TILDE, TURN, UNICODE_RANGE, URI, VH, VMAX, VMIN, VW
TK_EOF, TK_NOT_FOUND
Constructor and Description |
---|
CSSGenericAtRuleLexer() |
Modifier and Type | Method and Description |
---|---|
int |
lex(LexerToken lexedToken)
Scans the text buffer at the current position and returns the
token that was found.
|
protected int |
TokenizerToLanguageToken(int token) |
backup, convertToken, fillLexerToken, getEndOffset, getStartOffset, getToken, lex, nextToken, resetTokenizer, setLineMap, setPosition, skipAtRule, skipBlock, skipStyleRule, updateState
isComment, setSkipComments
createLexerToken, getTextBuffer, setTextBuffer
public int lex(LexerToken lexedToken)
CSSLexer
lexedToken
instance passed in to the
call.protected int TokenizerToLanguageToken(int token)
TokenizerToLanguageToken
in class CSSLexer