com.aptana.ide.editor.html.parsing.nodes
Class HTMLParseNodeTypes

java.lang.Object
  extended by com.aptana.ide.editor.html.parsing.nodes.HTMLParseNodeTypes

public class HTMLParseNodeTypes
extends java.lang.Object

Author:
Kevin Lindsey

Field Summary
static int DECLARATION
          DECLARATION
static int DOCUMENT
          DOCUMENT
static int ELEMENT
          ELEMENT
static int MAX_VALUE
          MAX_VALUE
static int SPECIAL
          SPECIAL Used to indicate a transition to another language via
static int UNKNOWN
          UNKNOWN
 
Constructor Summary
protected HTMLParseNodeTypes()
          HTMLParseNodeTypes
 
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

DOCUMENT

public static final int DOCUMENT
DOCUMENT

See Also:
Constant Field Values

DECLARATION

public static final int DECLARATION
DECLARATION

See Also:
Constant Field Values

ELEMENT

public static final int ELEMENT
ELEMENT

See Also:
Constant Field Values

SPECIAL

public static final int SPECIAL
SPECIAL Used to indicate a transition to another language via
See Also:
Constant Field Values

MAX_VALUE

public static final int MAX_VALUE
MAX_VALUE

See Also:
Constant Field Values
Constructor Detail

HTMLParseNodeTypes

protected HTMLParseNodeTypes()
HTMLParseNodeTypes

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