Class ElementNode
A node representing an AST node with an underlying Element
.
Import path
import semmle.code.csharp.PrintAst
Direct supertypes
Indirect supertypes
Known direct subtypes
Fields
Predicates
getElement | Gets the |
getLocation | Gets the location of this node in the source code. |
toString | Gets a textual representation of this node in the PrintAst output tree. |
Inherited predicates
getAChild | Gets a child of this node. | from PrintAstNode |
getChild | Gets the child node at index | from PrintAstNode |
getChildEdgeLabel | Gets the label for the edge from this node to the specified child. By default, this is just the index of the child, but subclasses can override this. | from PrintAstNode |
getParent | Gets the parent of this node, if any. | from PrintAstNode |
getProperty | Gets the value of the property of this node, where the name of the property is | from PrintAstNode |