com.aptana.ide.editor.jscomment.lexing
Class JSCommentTokenTypes

java.lang.Object
  extended by com.aptana.ide.editor.jscomment.lexing.JSCommentTokenTypes

public final class JSCommentTokenTypes
extends java.lang.Object

Author:
Kevin Lindsey

Field Summary
static int END_MULTILINE_COMMENT
          END_MULTILINE_COMMENT
static int ERROR
          ERROR
static int LINE_TERMINATOR
          LINE_TERMINATOR
static int MAX_VALUE
          MAX_VALUE
static int START_MULTILINE_COMMENT
          START_MULTILINE_COMMENT
static int START_SINGLELINE_COMMENT
          START_SINGLELINE_COMMENT
static int TEXT
          TEXT
 
Constructor Summary
protected JSCommentTokenTypes()
          JSCommentTokenTypes
 
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

START_MULTILINE_COMMENT

public static final int START_MULTILINE_COMMENT
START_MULTILINE_COMMENT

See Also:
Constant Field Values

START_SINGLELINE_COMMENT

public static final int START_SINGLELINE_COMMENT
START_SINGLELINE_COMMENT

See Also:
Constant Field Values

TEXT

public static final int TEXT
TEXT

See Also:
Constant Field Values

LINE_TERMINATOR

public static final int LINE_TERMINATOR
LINE_TERMINATOR

See Also:
Constant Field Values

END_MULTILINE_COMMENT

public static final int END_MULTILINE_COMMENT
END_MULTILINE_COMMENT

See Also:
Constant Field Values

MAX_VALUE

public static final int MAX_VALUE
MAX_VALUE

See Also:
Constant Field Values
Constructor Detail

JSCommentTokenTypes

protected JSCommentTokenTypes()
JSCommentTokenTypes

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