com.aptana.ide.editor.css.lexing
Class CSSTokenTypes

java.lang.Object
  extended by com.aptana.ide.editor.css.lexing.CSSTokenTypes

public class CSSTokenTypes
extends java.lang.Object

Author:
Kevin Lindsey

Field Summary
static int ANGLE
          ANGLE
static int AT_KEYWORD
          AT_KEYWORD
static int CARET_EQUAL
          CARET_EQUAL
static int CDC
          CDC
static int CDO
          CDO
static int CHARSET
          CHARSET
static int CLASS
          CLASS
static int COLON
          COLON
static int COLOR
          COLOR
static int COMMA
          COMMA
static int COMMENT
          COMMENT
static int DASHMATCH
          DASHMATCH
static int DIMENSION
          DIMENSION
static int EMS
          EMS
static int EQUAL
          EQUAL
static int ERROR
          ERROR
static int EXS
          EXS
static int FORWARD_SLASH
          FORWARD_SLASH
static int FREQUENCY
          FREQUENCY
static int FUNCTION
          FUNCTION
static int GREATER
          GREATER
static int HASH
          HASH
static int IDENTIFIER
          IDENTIFIER
static int IMPORT
          IMPORT
static int IMPORTANT
          IMPORTANT
static int INCLUDES
          INCLUDES
static int LBRACKET
          LBRACKET
static int LCURLY
          LCURLY
static int LENGTH
          LENGTH
static int MAX_VALUE
          MAX_VALUE
static int MEDIA
          MEDIA
static int MINUS
          MINUS
static int MULTILINE_COMMENT
          MULTILINE_COMMENT
static int NUMBER
          NUMBER
static int PAGE
          PAGE
static int PERCENTAGE
          PERCENTAGE
static int PLUS
          PLUS
static int PROPERTY
          PROPERTY
static int RBRACKET
          RBRACKET
static int RCURLY
          RCURLY
static int RPAREN
          RPAREN
static int SELECTOR
          SELECTOR
static int SEMICOLON
          SEMICOLON
static int STAR
          STAR
static int START_MULTILINE_COMMENT
          START_MULTILINE_COMMENT
static int STRING
          STRING
static int TIME
          TIME
static int UNICODE_RANGE
          UNICODE_RANGE
static int URL
          URL
static int WHITESPACE
          WHITESPACE
 
Constructor Summary
protected CSSTokenTypes()
          CSSTokenTypes
 
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

ERROR

public static final int ERROR
ERROR

See Also:
Constant Field Values

WHITESPACE

public static final int WHITESPACE
WHITESPACE

See Also:
Constant Field Values

START_MULTILINE_COMMENT

public static final int START_MULTILINE_COMMENT
START_MULTILINE_COMMENT

See Also:
Constant Field Values

COMMENT

public static final int COMMENT
COMMENT

See Also:
Constant Field Values

IDENTIFIER

public static final int IDENTIFIER
IDENTIFIER

See Also:
Constant Field Values

STRING

public static final int STRING
STRING

See Also:
Constant Field Values

NUMBER

public static final int NUMBER
NUMBER

See Also:
Constant Field Values

AT_KEYWORD

public static final int AT_KEYWORD
AT_KEYWORD

See Also:
Constant Field Values

CLASS

public static final int CLASS
CLASS

See Also:
Constant Field Values

HASH

public static final int HASH
HASH

See Also:
Constant Field Values

FUNCTION

public static final int FUNCTION
FUNCTION

See Also:
Constant Field Values

DIMENSION

public static final int DIMENSION
DIMENSION

See Also:
Constant Field Values

PERCENTAGE

public static final int PERCENTAGE
PERCENTAGE

See Also:
Constant Field Values

EMS

public static final int EMS
EMS

See Also:
Constant Field Values

EXS

public static final int EXS
EXS

See Also:
Constant Field Values

LENGTH

public static final int LENGTH
LENGTH

See Also:
Constant Field Values

ANGLE

public static final int ANGLE
ANGLE

See Also:
Constant Field Values

TIME

public static final int TIME
TIME

See Also:
Constant Field Values

FREQUENCY

public static final int FREQUENCY
FREQUENCY

See Also:
Constant Field Values

UNICODE_RANGE

public static final int UNICODE_RANGE
UNICODE_RANGE

See Also:
Constant Field Values

COLOR

public static final int COLOR
COLOR

See Also:
Constant Field Values

IMPORT

public static final int IMPORT
IMPORT

See Also:
Constant Field Values

PAGE

public static final int PAGE
PAGE

See Also:
Constant Field Values

MEDIA

public static final int MEDIA
MEDIA

See Also:
Constant Field Values

CHARSET

public static final int CHARSET
CHARSET

See Also:
Constant Field Values

URL

public static final int URL
URL

See Also:
Constant Field Values

IMPORTANT

public static final int IMPORTANT
IMPORTANT

See Also:
Constant Field Values

CDO

public static final int CDO
CDO

See Also:
Constant Field Values

CDC

public static final int CDC
CDC

See Also:
Constant Field Values

COLON

public static final int COLON
COLON

See Also:
Constant Field Values

SEMICOLON

public static final int SEMICOLON
SEMICOLON

See Also:
Constant Field Values

LCURLY

public static final int LCURLY
LCURLY

See Also:
Constant Field Values

RCURLY

public static final int RCURLY
RCURLY

See Also:
Constant Field Values

RPAREN

public static final int RPAREN
RPAREN

See Also:
Constant Field Values

LBRACKET

public static final int LBRACKET
LBRACKET

See Also:
Constant Field Values

RBRACKET

public static final int RBRACKET
RBRACKET

See Also:
Constant Field Values

INCLUDES

public static final int INCLUDES
INCLUDES

See Also:
Constant Field Values

DASHMATCH

public static final int DASHMATCH
DASHMATCH

See Also:
Constant Field Values

COMMA

public static final int COMMA
COMMA

See Also:
Constant Field Values

PLUS

public static final int PLUS
PLUS

See Also:
Constant Field Values

MINUS

public static final int MINUS
MINUS

See Also:
Constant Field Values

STAR

public static final int STAR
STAR

See Also:
Constant Field Values

CARET_EQUAL

public static final int CARET_EQUAL
CARET_EQUAL

See Also:
Constant Field Values

GREATER

public static final int GREATER
GREATER

See Also:
Constant Field Values

FORWARD_SLASH

public static final int FORWARD_SLASH
FORWARD_SLASH

See Also:
Constant Field Values

EQUAL

public static final int EQUAL
EQUAL

See Also:
Constant Field Values

MULTILINE_COMMENT

public static final int MULTILINE_COMMENT
MULTILINE_COMMENT

See Also:
Constant Field Values

PROPERTY

public static final int PROPERTY
PROPERTY

See Also:
Constant Field Values

SELECTOR

public static final int SELECTOR
SELECTOR

See Also:
Constant Field Values

MAX_VALUE

public static final int MAX_VALUE
MAX_VALUE

See Also:
Constant Field Values
Constructor Detail

CSSTokenTypes

protected CSSTokenTypes()
CSSTokenTypes

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