Class PrintAST::CastNode

A node representing a Cast.

Direct supertypes

Indirect supertypes

Fields

Inherited fields

Predicates

getProperty

Gets the value of the property of this node, where the name of the property is key.

Inherited predicates

getAChild

Gets the children of this node.

from PrintASTNode
getAST

Gets the AST represented by this node.

from ASTNode
getChild

Gets the child node at index childIndex. Child indices must be unique, but need not be contiguous (but see getChildByRank).

from ConversionNode
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 ConversionNode
getLocation

Gets the location of this node in the source code.

from ASTNode
getParent

Gets the parent of this node, if any.

from PrintASTNode
getValuefrom ExprNode
shouldPrint

Holds if this node should be printed in the output. By default, all nodes within a function are printed, but the query can override PrintASTConfiguration.shouldPrintFunction to filter the output.

from PrintASTNode
toStringfrom ASTNode

Charpred