com.aptana.ide.editor.css.parsing.nodes
Class CSSParseNodeTypes

java.lang.Object
  extended by com.aptana.ide.editor.css.parsing.nodes.CSSParseNodeTypes

public class CSSParseNodeTypes
extends java.lang.Object

Author:
Kevin Lindsey

Field Summary
static int AT_RULE
          AT_RULE
static int BLOCK
          BLOCK
static int CHAR_SET
          CHAR_SET
static int DECLARATION
          DECLARATION
static int EMPTY
          EMPTY
static int EXPR
          EXPR
static int IMPORT
          IMPORT
static int LIST
          LIST
static int MAX_VALUE
          MAX_VALUE
static int MEDIA
          MEDIA
static int MEDIUM
          MEDIUM
static int PAGE
          PAGE
static int RULE_SET
          RULE_SET
static int SELECTOR
          SELECTOR
static int SIMPLE_SELECTOR
          SIMPLE_SELECTOR
static int TERM
          TERM
static int TEXT
          TEXT
static int UNKNOWN
          UNKNOWN
 
Constructor Summary
protected CSSParseNodeTypes()
          CSSParseNodeTypes
 
Method Summary
static int getIntValue(java.lang.String name)
          getIntValue
static java.lang.String getName(int type)
          Get the name associated with the specified token type
static java.lang.String[] getNames()
          getNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN
UNKNOWN

See Also:
Constant Field Values

AT_RULE

public static final int AT_RULE
AT_RULE

See Also:
Constant Field Values

BLOCK

public static final int BLOCK
BLOCK

See Also:
Constant Field Values

CHAR_SET

public static final int CHAR_SET
CHAR_SET

See Also:
Constant Field Values

DECLARATION

public static final int DECLARATION
DECLARATION

See Also:
Constant Field Values

IMPORT

public static final int IMPORT
IMPORT

See Also:
Constant Field Values

RULE_SET

public static final int RULE_SET
RULE_SET

See Also:
Constant Field Values

MEDIA

public static final int MEDIA
MEDIA

See Also:
Constant Field Values

MEDIUM

public static final int MEDIUM
MEDIUM

See Also:
Constant Field Values

PAGE

public static final int PAGE
PAGE

See Also:
Constant Field Values

SELECTOR

public static final int SELECTOR
SELECTOR

See Also:
Constant Field Values

SIMPLE_SELECTOR

public static final int SIMPLE_SELECTOR
SIMPLE_SELECTOR

See Also:
Constant Field Values

EXPR

public static final int EXPR
EXPR

See Also:
Constant Field Values

TERM

public static final int TERM
TERM

See Also:
Constant Field Values

TEXT

public static final int TEXT
TEXT

See Also:
Constant Field Values

EMPTY

public static final int EMPTY
EMPTY

See Also:
Constant Field Values

LIST

public static final int LIST
LIST

See Also:
Constant Field Values

MAX_VALUE

public static final int MAX_VALUE
MAX_VALUE

See Also:
Constant Field Values
Constructor Detail

CSSParseNodeTypes

protected CSSParseNodeTypes()
CSSParseNodeTypes

Method Detail

getNames

public static java.lang.String[] getNames()
getNames

Returns:
String[]

getName

public static java.lang.String getName(int type)
Get the name associated with the specified token type

Parameters:
type - The token type
Returns:
The name associated with this token type

getIntValue

public static int getIntValue(java.lang.String name)
getIntValue

Parameters:
name -
Returns:
int