|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.parser.AbstractLexer
oracle.javatools.parser.css.CSSLexer
oracle.javatools.parser.css.CSSDeclarationsLexer
public class CSSDeclarationsLexer
Code Editor lexer for style rules inside CSS documents.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.javatools.parser.AbstractLexer |
---|
AbstractLexer.DefaultLexerToken |
Field Summary | |
---|---|
protected boolean |
_mLexingProperty Whether scanned identifiers are property names. |
Fields inherited from class oracle.javatools.parser.css.CSSLexer |
---|
_mEndOffset, _mLastToken, _mLineMap, _mReader, _mStartOffset, _mTokenizer, _mUseLastToken |
Fields inherited from class oracle.javatools.parser.AbstractLexer |
---|
currentPos, textBuffer |
Fields inherited from interface oracle.javatools.parser.css.CSSRuleTokens |
---|
TK_CSS_DECLARATIONS, TK_CSS_FUNCTION, TK_CSS_INVALID_PROPERTY, TK_CSS_MEDIUM, TK_CSS_PROPERTY, TK_CSS_SELECTOR, TK_CSS_UNIT |
Fields inherited from interface oracle.javatools.parser.css.CSSTokens |
---|
TK_CSS_BLOCK, TK_CSS_RULE_SET |
Fields inherited from interface oracle.javatools.parser.css.LexicalUnits |
---|
ANY, AT_KEYWORD, BEGINS, CARET, CDC, CDO, CHARSET_SYMBOL, CM, COLON, COMMA, COMMENT, CONTAINS, DASHMATCH, DEG, DIMENSION, DIVIDE, DOLLAR, DOT, EM, ENDS, EOF, EQUAL, ERROR, EX, FONT_FACE_SYMBOL, 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, RIGHT_BRACE, RIGHT_BRACKET, RIGHT_CURLY_BRACE, S, SEMI_COLON, SPACE, STRING, TILDE, UNICODE_RANGE, URI |
Fields inherited from interface oracle.javatools.parser.Lexer |
---|
TK_EOF, TK_NOT_FOUND |
Constructor Summary | |
---|---|
CSSDeclarationsLexer() |
Method Summary | |
---|---|
int |
lex(LexerToken lexedToken) Scans the text buffer at the current position and returns the token that was found. |
protected void |
resetTokenizer() |
protected int |
TokenizerToLanguageToken(int token) |
Methods inherited from class oracle.javatools.parser.css.CSSLexer |
---|
backup, convertToken, fillLexerToken, getTokenizer, nextToken, setLineMap, setPosition, skipAtRule, skipBlock, skipStyleRule, updateState |
Methods inherited from class oracle.javatools.parser.AbstractLexer |
---|
createLexerToken, getTextBuffer, setTextBuffer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean _mLexingProperty
Constructor Detail |
---|
public CSSDeclarationsLexer()
Method Detail |
---|
public int lex(LexerToken lexedToken)
lexedToken
instance passed in to the call.lex
in interface Lexer
lex
in class CSSLexer
lexedToken
- the instance passed in where token info is storedlexedToken.getToken()
(for convenience)protected void resetTokenizer()
resetTokenizer
in class CSSLexer
protected int TokenizerToLanguageToken(int token)
TokenizerToLanguageToken
in class CSSLexer
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |