Uses of Interface
com.intellij.lang.ASTNode

Packages that use ASTNode
com.intellij.extapi.psi Provides base classes for the custom language implementations of the PSI structure. 
com.intellij.lang Provides base interfaces which allow to extend IDEA with support for custom languages. 
com.intellij.lang.annotation Provides interfaces for implementing additional syntax highlighting, error and warning highlighting in custom languages. 
com.intellij.lang.folding Provides interfaces for adding code folding support to custom languages. 
com.intellij.peer Provides interfaces for creating internal IDEA implementations of components defined by abstract interfaces. 
com.intellij.pom.tree.events   
com.intellij.psi Provides interfaces for working with the Program Source Interface (IDEA's internal representation of the program structure). 
com.intellij.psi.tree Provides interfaces for elements composing AST trees. 
 

Uses of ASTNode in com.intellij.extapi.psi
 

Methods in com.intellij.extapi.psi that return ASTNode
 ASTNode ASTWrapperPsiElement.getNode()
           
 

Constructors in com.intellij.extapi.psi with parameters of type ASTNode
ASTWrapperPsiElement(ASTNode node)
           
 

Uses of ASTNode in com.intellij.lang
 

Fields in com.intellij.lang declared as ASTNode
static ASTNode[] ASTNode.EMPTY_ARRAY
           
 

Methods in com.intellij.lang that return ASTNode
 ASTNode ASTNode.copyElement()
          Creates a copy of the entire AST tree containing this node and returns a counterpart of this node in the resulting tree.
 ASTNode ASTNode.findChildByType(IElementType type)
          Returns the first child of the specified node which has the specified type.
 ASTNode ASTNode.findLeafElementAt(int offset)
          Finds a leaf child node at the specified offset from the start of the text range of this node.
 ASTNode[] ASTNode.getChildren(TokenSet filter)
          Returns the list of children of the specified node, optionally filtered by the specified token type filter.
 ASTNode ASTNode.getFirstChildNode()
          Returns the first child of this node in the tree.
 ASTNode ASTNode.getLastChildNode()
          Returns the last child of this node in the tree.
 ASTNode PsiBuilder.getTreeBuilt()
          Returns the result of the parsing.
 ASTNode ASTNode.getTreeNext()
          Returns the previous sibling of this node in the tree.
 ASTNode ASTNode.getTreeParent()
          Returns the parent of this node in the tree.
 ASTNode ASTNode.getTreePrev()
          Returns the next sibling of this node in the tree.
 ASTNode PsiParser.parse(IElementType root, PsiBuilder builder)
          Parses the contents of the specified PSI builder and returns an AST tree with the specified type of root element.
 

Methods in com.intellij.lang with parameters of type ASTNode
 void ASTNode.addChild(ASTNode child)
          Adds the specified child node as the last child of this node.
 void ASTNode.addChild(ASTNode child, ASTNode anchorBefore)
          Adds the specified child node at the specified position in the child list.
 void ASTNode.addChildren(ASTNode firstChild, ASTNode firstChildToNotAdd, ASTNode anchorBefore)
          Adds a range of nodes belonging to the same parent to the list of children of this node, starting with firstChild, up to and not including firstChildToNotAdd.
 PsiElement ParserDefinition.createElement(ASTNode node)
          Creates a PSI element for the specified AST node.
 void ASTNode.removeChild(ASTNode child)
          Removes the specified node from the list of children of this node.
 void ASTNode.removeRange(ASTNode firstNodeToRemove, ASTNode firstNodeToKeep)
          Removes a range of nodes from the list of children, starting with firstNodeToRemove, up to and not including firstNodeToKeep.
 void ASTNode.replaceAllChildrenToChildrenOf(ASTNode anotherParent)
          Replaces all child nodes with the children of the specified node.
 void ASTNode.replaceChild(ASTNode oldChild, ASTNode newChild)
          Replaces the specified child node with another node.
 

Uses of ASTNode in com.intellij.lang.annotation
 

Methods in com.intellij.lang.annotation with parameters of type ASTNode
 Annotation AnnotationHolder.createErrorAnnotation(ASTNode node, java.lang.String message)
          Creates an error annotation with the specified message over the specified AST node.
 Annotation AnnotationHolder.createInfoAnnotation(ASTNode node, java.lang.String message)
          Creates an information annotation with the specified message over the specified AST node.
 Annotation AnnotationHolder.createWarningAnnotation(ASTNode node, java.lang.String message)
          Creates a warning annotation with the specified message over the specified AST node.
 

Uses of ASTNode in com.intellij.lang.folding
 

Methods in com.intellij.lang.folding that return ASTNode
 ASTNode FoldingDescriptor.getElement()
          Returns the node to which the folding region is related.
 

Methods in com.intellij.lang.folding with parameters of type ASTNode
 FoldingDescriptor[] FoldingBuilder.buildFoldRegions(ASTNode node, Document document)
          Builds the folding regions for the specified node in the AST tree and its children.
 java.lang.String FoldingBuilder.getPlaceholderText(ASTNode node)
          Returns the text which is displayed in the editor for the folding region related to the specified node when the folding region is collapsed.
 boolean FoldingBuilder.isCollapsedByDefault(ASTNode node)
          Returns the default collapsed state for the folding region related to the specified node.
 

Constructors in com.intellij.lang.folding with parameters of type ASTNode
FoldingDescriptor(ASTNode node, TextRange range)
          Creates a folding region related to the specified AST node and covering the specified text range.
 

Uses of ASTNode in com.intellij.peer
 

Methods in com.intellij.peer with parameters of type ASTNode
abstract  PsiBuilder PeerFactory.createBuilder(ASTNode tree, Language lang, java.lang.CharSequence seq, Project project)
           
 

Uses of ASTNode in com.intellij.pom.tree.events
 

Methods in com.intellij.pom.tree.events that return ASTNode
 ASTNode[] TreeChange.getAffectedChildren()
           
 ASTNode[] TreeChangeEvent.getChangedElements()
           
 ASTNode ReplaceChangeInfo.getReplaced()
           
 ASTNode TreeChangeEvent.getRootElement()
           
 

Methods in com.intellij.pom.tree.events with parameters of type ASTNode
 void TreeChange.addChange(ASTNode child, ChangeInfo changeInfo)
           
 void TreeChangeEvent.addElementaryChange(ASTNode child, ChangeInfo change)
           
 ChangeInfo TreeChange.getChangeByChild(ASTNode child)
           
 TreeChange TreeChangeEvent.getChangesByElement(ASTNode element)
           
 int TreeChange.getChildOffsetInNewTree(ASTNode child)
           
 void TreeChange.removeChange(ASTNode beforeEqualDepth)
           
 

Uses of ASTNode in com.intellij.psi
 

Methods in com.intellij.psi that return ASTNode
 ASTNode PsiElement.getNode()
          Returns the AST node corresponding to the element.
 

Uses of ASTNode in com.intellij.psi.tree
 

Methods in com.intellij.psi.tree that return ASTNode
 ASTNode IChameleonElementType.parseContents(ASTNode chameleon)
          Parses the contents of the specified chameleon node and returns the AST tree representing the parsed contents.
 

Methods in com.intellij.psi.tree with parameters of type ASTNode
 ASTNode IChameleonElementType.parseContents(ASTNode chameleon)
          Parses the contents of the specified chameleon node and returns the AST tree representing the parsed contents.