public class ThrowNode extends BaseStatementExpressionNode implements IThrowNode
expressionNodeflagsemptyNodeArray, parentUNKNOWN| Modifier | Constructor and Description |
|---|---|
|
ThrowNode(IASToken throwToken)
Constructor.
|
protected |
ThrowNode(ThrowNode other)
Copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ThrowNode |
copy()
Copy the ExpressionNodeBase and its subtree.
|
ASTNodeID |
getNodeID()
Get the opcode of this node
|
IExpressionNode |
getThrownExpressionNode()
Represents the condition that is being thrown by the throw statement
|
boolean |
isDynamicExpression(ICompilerProject project)
Does this expression evaluate to a dynamic value
|
getChild, getChildCount, getExpressionNode, setStatementExpressioncomputeNamespaceReference, copyForInitializer, getASScope, getBaseExpression, getDecorationNode, getDependencyType, getMName, getParentExpression, hasParenthesis, inFilter, inWith, isPackageReference, normalize, resolve, resolveType, setHasParenthesisisTerminalanalyze, buildInnerString, buildStringRecursive, canContinueContainmentSearch, collectImportNodes, combineAttributes, connectedToProjectScope, contains, endAfter, endAfter, endBefore, endBefore, fillInOffsets, getAbsoluteEnd, getAbsoluteStart, getAncestorOfType, getContainingFilePath, getContainingNode, getContainingScope, getEnd, getFileScope, getFileSpecification, getInnerString, getNodeKind, getPackageName, getParent, getScopeNode, getSpanningStart, getStart, getSucceedingNode, getWorkspace, isTransparent, looselyContains, replaceChild, runPostProcess, setChildren, setParent, span, span, span, startAfter, startAfter, startBefore, startBefore, swapChildren, toString, tryGetOffsetLookup, verifygetColumn, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, spanclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyForInitializer, hasParenthesis, resolve, resolveTypecontains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic ThrowNode(IASToken throwToken)
protected ThrowNode(ThrowNode other)
other - The node to copy.public ASTNodeID getNodeID()
IASNodeprotected ThrowNode copy()
ExpressionNodeBasecopy in class ExpressionNodeBasepublic boolean isDynamicExpression(ICompilerProject project)
IExpressionNodeisDynamicExpression in interface IExpressionNodeisDynamicExpression in class ExpressionNodeBaseproject - The ICompilerProject to use to do lookups.true if we evaluate to something dynamicpublic IExpressionNode getThrownExpressionNode()
IThrowNodegetThrownExpressionNode in interface IThrowNodeIExpressionNode or nullCopyright © 2016 The Apache Software Foundation. All rights reserved.