public class MethodGroupExpression extends Expression
| Modifier and Type | Field and Description |
|---|---|
static Role<Expression> |
CLOSURE_ARGUMENT_RULE |
static TokenRole |
DOUBLE_COLON_ROLE |
MYSTERY_OFFSET, NULLAST_NODE_USED_FLAGS, flagsCHILD_ITERATOR| Constructor and Description |
|---|
MethodGroupExpression(int offset,
Expression target,
java.lang.String methodName) |
| Modifier and Type | Method and Description |
|---|---|
<T,R> R |
acceptVisitor(IAstVisitor<? super T,? extends R> visitor,
T data) |
AstNodeCollection<Expression> |
getClosureArguments() |
JavaTokenNode |
getDoubleColonToken() |
java.lang.String |
getMethodName() |
Identifier |
getMethodNameToken() |
Expression |
getTarget() |
boolean |
isReference() |
boolean |
matches(INode other,
Match match) |
void |
setMethodName(java.lang.String name) |
void |
setMethodNameToken(Identifier token) |
void |
setTarget(Expression value) |
clone, forPattern, getNodeType, getOffset, invoke, invoke, invoke, invoke, invoke, invoke, member, setOffsetaddChild, contains, contains, copyUserDataFrom, freezeCore, getAncestors, getAncestors, getAncestorsAndSelf, getChildByRole, getChildren, getChildrenByRole, getDescendants, getDescendantsAndSelf, getEndLocation, getFirstChild, getLastChild, getNextNode, getNextSibling, getNextSibling, getParent, getParent, getPreviousNode, getPreviousSibling, getPreviousSibling, getRegion, getRole, getStartLocation, getText, getText, getUserData, hasChildren, insertChildAfter, insertChildBefore, insertChildrenAfter, insertChildrenBefore, isAncestorOf, isDescendantOf, isInside, isInside, isLoop, isNull, isUnconditionalBranch, match, matches, matchesCollection, matchString, putUserData, putUserDataIfAbsent, remove, replace, replaceWith, replaceWith, setChildByRole, setRole, toStringpublic static final Role<Expression> CLOSURE_ARGUMENT_RULE
public static final TokenRole DOUBLE_COLON_ROLE
public MethodGroupExpression(int offset,
Expression target,
java.lang.String methodName)
public final AstNodeCollection<Expression> getClosureArguments()
public final JavaTokenNode getDoubleColonToken()
public final java.lang.String getMethodName()
public final void setMethodName(java.lang.String name)
public final Identifier getMethodNameToken()
public final void setMethodNameToken(Identifier token)
public final Expression getTarget()
public final void setTarget(Expression value)
public <T,R> R acceptVisitor(IAstVisitor<? super T,? extends R> visitor, T data)
acceptVisitor in class AstNodepublic boolean isReference()
isReference in class AstNode