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

java.lang.Object
  extended by com.aptana.ide.parsing.nodes.ParseNodeBase
      extended by com.aptana.ide.editor.css.parsing.nodes.CSSParseNode
All Implemented Interfaces:
IRange, IParseNode
Direct Known Subclasses:
CSSCharSetNode, CSSDeclarationNode, CSSExprNode, CSSImportNode, CSSListNode, CSSMediaNode, CSSMediumNode, CSSPageNode, CSSRuleSetNode, CSSSelectorNode, CSSSimpleSelectorNode, CSSTermNode, CSSTextNode

public class CSSParseNode
extends ParseNodeBase

Author:
Kevin Lindsey

Field Summary
static CSSParseNode Empty
          The default empty node used as a placeholder in parent nodes
 
Constructor Summary
CSSParseNode(int typeIndex, Lexeme startLexeme)
          CSSParseNode
 
Method Summary
 java.lang.String getName()
          Gets the name of the node, if any.
 
Methods inherited from class com.aptana.ide.parsing.nodes.ParseNodeBase
appendChild, containsOffset, createAttribute, getAttribute, getAttributeNode, getAttributes, getChild, getChildCount, getChildIndex, getChildren, getEndingLexeme, getEndingOffset, getLanguage, getLength, getNodeAtOffset, getParent, getRootNode, getSource, getSource, getStartingLexeme, getStartingOffset, getText, getType, getTypeIndex, getXML, getXML, hasAttribute, hasAttributes, hasChildren, isEmpty, setAttribute, setEndingLexeme, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Empty

public static final CSSParseNode Empty
The default empty node used as a placeholder in parent nodes

Constructor Detail

CSSParseNode

public CSSParseNode(int typeIndex,
                    Lexeme startLexeme)
CSSParseNode

Parameters:
typeIndex -
startLexeme -
Method Detail

getName

public java.lang.String getName()
Description copied from interface: IParseNode
Gets the name of the node, if any.

Specified by:
getName in interface IParseNode
Overrides:
getName in class ParseNodeBase
Returns:
Returns the name of the node, if any.
See Also:
ParseNodeBase.getName()