public interface IWithNode extends IStatementNode
with
statement.
The shape of this node is:
IWithNode IExpressionNode <-- getTargetNode()For example,
with (r) trace(x);is represented as
IWithNode IIdentifierNode "r" IBlockNode IFunctionCallNode ..Note that an implicit
IBlockNode
is created
even if there are no curly braces.UNKNOWN
Modifier and Type | Method and Description |
---|---|
IExpressionNode |
getTargetNode()
Returns the
IExpressionNode that contains the target expression
within this with statement |
getStatementContentsNode
contains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminal
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
IExpressionNode getTargetNode()
IExpressionNode
that contains the target expression
within this with statementIExpressionNode
or nullCopyright © 2016 The Apache Software Foundation. All rights reserved.