com.aptana.ide.editor.js.parsing.nodes
Class JSNaryNode

java.lang.Object
  extended by com.aptana.ide.parsing.nodes.ParseNodeBase
      extended by com.aptana.ide.editor.js.parsing.nodes.JSParseNode
          extended by com.aptana.ide.editor.js.parsing.nodes.JSNaryNode
All Implemented Interfaces:
IRange, IParseNode
Direct Known Subclasses:
JSNaryAndExpressionNode

public class JSNaryNode
extends JSParseNode

Author:
Kevin Lindsey

Constructor Summary
JSNaryNode(int typeIndex, Lexeme startLexeme)
          JSNaryNode
 
Method Summary
 void getSource(SourceWriter writer)
          getSource
 boolean isTopLevel()
          isTopLevel
 
Methods inherited from class com.aptana.ide.editor.js.parsing.nodes.JSParseNode
getIncludesSemicolon, getName, isEmpty, setIncludesSemicolon
 
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, getStartingLexeme, getStartingOffset, getText, getType, getTypeIndex, getXML, getXML, hasAttribute, hasAttributes, hasChildren, setAttribute, setEndingLexeme, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSNaryNode

public JSNaryNode(int typeIndex,
                  Lexeme startLexeme)
JSNaryNode

Parameters:
typeIndex -
startLexeme -
Method Detail

getSource

public void getSource(SourceWriter writer)
Description copied from interface: IParseNode
getSource

Specified by:
getSource in interface IParseNode
Overrides:
getSource in class JSParseNode
See Also:
JSParseNode.getSource(com.aptana.ide.io.SourceWriter)

isTopLevel

public boolean isTopLevel()
isTopLevel

Returns:
boolean