Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.javatools.parser.css
Class CSSPseudoRuleSetLexer

java.lang.Object
  extended by oracle.javatools.parser.AbstractLexer
      extended by oracle.javatools.parser.css.CSSLexer
          extended by oracle.javatools.parser.css.CSSPseudoRuleSetLexer
All Implemented Interfaces:
CSSRuleTokens, CSSTokens, LexicalUnits, Lexer

public class CSSPseudoRuleSetLexer
extends CSSLexer
implements CSSRuleTokens


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.javatools.parser.AbstractLexer
AbstractLexer.DefaultLexerToken
 
Field Summary
protected  boolean _mLexingPseudoElement
          Whether scanned identifiers are selectors or pseudo-clases/elements.
 
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
CSSPseudoRuleSetLexer()
           
 
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

_mLexingPseudoElement

protected boolean _mLexingPseudoElement
Whether scanned identifiers are selectors or pseudo-clases/elements.

Constructor Detail

CSSPseudoRuleSetLexer

public CSSPseudoRuleSetLexer()
Method Detail

lex

public int lex(LexerToken lexedToken)
Scans the text buffer at the current position and returns the token that was found. The token and offset information is also stored in the lexedToken instance passed in to the call.

Specified by:
lex in interface Lexer
Overrides:
lex in class CSSLexer
Parameters:
lexedToken - the instance passed in where token info is stored
Returns:
the token that was found, same as calling lexedToken.getToken() (for convenience)

resetTokenizer

protected void resetTokenizer()
Overrides:
resetTokenizer in class CSSLexer

TokenizerToLanguageToken

protected int TokenizerToLanguageToken(int token)
Overrides:
TokenizerToLanguageToken in class CSSLexer

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.