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

java.lang.Object
  extended by com.aptana.ide.parsing.nodes.ParseNodeFactory
      extended by com.aptana.ide.editor.css.parsing.nodes.CSSParseNodeFactory
All Implemented Interfaces:
IParseNodeFactory

public class CSSParseNodeFactory
extends ParseNodeFactory

Author:
Kevin Lindsey

Field Summary
 
Fields inherited from class com.aptana.ide.parsing.nodes.ParseNodeFactory
_owningParseState
 
Constructor Summary
CSSParseNodeFactory(IParseState owningParseState)
           
 
Method Summary
 IParseNode createParseNode(int nodeType, Lexeme startingLexeme)
          Create a new instance of a parse node of the given type
 
Methods inherited from class com.aptana.ide.parsing.nodes.ParseNodeFactory
createRootNode, getOwningParseState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSParseNodeFactory

public CSSParseNodeFactory(IParseState owningParseState)
Parameters:
owningParseState -
Method Detail

createParseNode

public IParseNode createParseNode(int nodeType,
                                  Lexeme startingLexeme)
Description copied from interface: IParseNodeFactory
Create a new instance of a parse node of the given type

Parameters:
nodeType - The unique integer value of the type of node to create. Typically, string overloaded version of this method will calculate the node type index and call this method.
startingLexeme - The lexeme that starts this node
Returns:
Returns the resulting parse node
See Also:
IParseNodeFactory.createParseNode(int, com.aptana.ide.lexer.Lexeme)