public final class DrlNameExpr
extends com.github.javaparser.ast.expr.NameExpr
implements com.github.javaparser.ast.nodeTypes.NodeWithSimpleName<com.github.javaparser.ast.expr.NameExpr>, com.github.javaparser.resolution.Resolvable<com.github.javaparser.resolution.declarations.ResolvedValueDeclaration>
int x = a + 3;
a is a SimpleName inside a DrlNameExpr.com.github.javaparser.ast.Node.BreadthFirstIterator, com.github.javaparser.ast.Node.DirectChildrenIterator, com.github.javaparser.ast.Node.ObserverRegistrationMode, com.github.javaparser.ast.Node.ParentsVisitor, com.github.javaparser.ast.Node.Parsedness, com.github.javaparser.ast.Node.PostOrderIterator, com.github.javaparser.ast.Node.PreOrderIterator, com.github.javaparser.ast.Node.TreeTraversal
Constructor and Description |
---|
DrlNameExpr() |
DrlNameExpr(com.github.javaparser.ast.expr.SimpleName name) |
DrlNameExpr(com.github.javaparser.ast.expr.SimpleName name,
int backReferencesCount) |
DrlNameExpr(String name) |
DrlNameExpr(com.github.javaparser.TokenRange tokenRange,
com.github.javaparser.ast.expr.SimpleName name,
int backReferencesCount)
This constructor is used by the parser and is considered private.
|
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(com.github.javaparser.ast.visitor.GenericVisitor<R,A> v,
A arg) |
<A> void |
accept(com.github.javaparser.ast.visitor.VoidVisitor<A> v,
A arg) |
int |
getBackReferencesCount() |
asNameExpr, clone, getMetaModel, getName, ifNameExpr, isNameExpr, remove, replace, resolve, setName, toNameExpr
asAnnotationExpr, asArrayAccessExpr, asArrayCreationExpr, asArrayInitializerExpr, asAssignExpr, asBinaryExpr, asBooleanLiteralExpr, asCastExpr, asCharLiteralExpr, asClassExpr, asConditionalExpr, asDoubleLiteralExpr, asEnclosedExpr, asFieldAccessExpr, asInstanceOfExpr, asIntegerLiteralExpr, asLambdaExpr, asLiteralExpr, asLiteralStringValueExpr, asLongLiteralExpr, asMarkerAnnotationExpr, asMethodCallExpr, asMethodReferenceExpr, asNormalAnnotationExpr, asNullLiteralExpr, asObjectCreationExpr, asSingleMemberAnnotationExpr, asStringLiteralExpr, asSuperExpr, asSwitchExpr, asThisExpr, asTypeExpr, asUnaryExpr, asVariableDeclarationExpr, calculateResolvedType, ifAnnotationExpr, ifArrayAccessExpr, ifArrayCreationExpr, ifArrayInitializerExpr, ifAssignExpr, ifBinaryExpr, ifBooleanLiteralExpr, ifCastExpr, ifCharLiteralExpr, ifClassExpr, ifConditionalExpr, ifDoubleLiteralExpr, ifEnclosedExpr, ifFieldAccessExpr, ifInstanceOfExpr, ifIntegerLiteralExpr, ifLambdaExpr, ifLiteralExpr, ifLiteralStringValueExpr, ifLongLiteralExpr, ifMarkerAnnotationExpr, ifMethodCallExpr, ifMethodReferenceExpr, ifNormalAnnotationExpr, ifNullLiteralExpr, ifObjectCreationExpr, ifSingleMemberAnnotationExpr, ifStringLiteralExpr, ifSuperExpr, ifSwitchExpr, ifThisExpr, ifTypeExpr, ifUnaryExpr, ifVariableDeclarationExpr, isAnnotationExpr, isArrayAccessExpr, isArrayCreationExpr, isArrayInitializerExpr, isAssignExpr, isBinaryExpr, isBooleanLiteralExpr, isCastExpr, isCharLiteralExpr, isClassExpr, isConditionalExpr, isDoubleLiteralExpr, isEnclosedExpr, isFieldAccessExpr, isInstanceOfExpr, isIntegerLiteralExpr, isLambdaExpr, isLiteralExpr, isLiteralStringValueExpr, isLongLiteralExpr, isMarkerAnnotationExpr, isMethodCallExpr, isMethodReferenceExpr, isNormalAnnotationExpr, isNullLiteralExpr, isObjectCreationExpr, isSingleMemberAnnotationExpr, isStringLiteralExpr, isSuperExpr, isSwitchExpr, isThisExpr, isTypeExpr, isUnaryExpr, isVariableDeclarationExpr, toAnnotationExpr, toArrayAccessExpr, toArrayCreationExpr, toArrayInitializerExpr, toAssignExpr, toBinaryExpr, toBooleanLiteralExpr, toCastExpr, toCharLiteralExpr, toClassExpr, toConditionalExpr, toDoubleLiteralExpr, toEnclosedExpr, toFieldAccessExpr, toInstanceOfExpr, toIntegerLiteralExpr, toLambdaExpr, toLiteralExpr, toLiteralStringValueExpr, toLongLiteralExpr, toMarkerAnnotationExpr, toMethodCallExpr, toMethodReferenceExpr, toNormalAnnotationExpr, toNullLiteralExpr, toObjectCreationExpr, toSingleMemberAnnotationExpr, toStringLiteralExpr, toSuperExpr, toSwitchExpr, toThisExpr, toTypeExpr, toUnaryExpr, toVariableDeclarationExpr
addOrphanComment, containsData, customInitialization, equals, findAll, findAll, findCompilationUnit, findFirst, findFirst, findFirst, findRootNode, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getDataKeys, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getParsed, getRange, getSymbolResolver, getTokenRange, getToStringPrettyPrinterConfiguration, hashCode, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeData, removeForced, removeOrphanComment, replace, setAsParentNodeOf, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setParsed, setRange, setTokenRange, setToStringPrettyPrinterConfiguration, stream, stream, toString, toString, tryAddImportToParentCompilationUnit, unregister, walk, walk, walk
finalize, getClass, notify, notifyAll, wait, wait, wait
public DrlNameExpr()
public DrlNameExpr(String name)
public DrlNameExpr(com.github.javaparser.ast.expr.SimpleName name, int backReferencesCount)
public DrlNameExpr(com.github.javaparser.ast.expr.SimpleName name)
public DrlNameExpr(com.github.javaparser.TokenRange tokenRange, com.github.javaparser.ast.expr.SimpleName name, int backReferencesCount)
public <R,A> R accept(com.github.javaparser.ast.visitor.GenericVisitor<R,A> v, A arg)
accept
in interface com.github.javaparser.ast.visitor.Visitable
accept
in class com.github.javaparser.ast.expr.NameExpr
public <A> void accept(com.github.javaparser.ast.visitor.VoidVisitor<A> v, A arg)
accept
in interface com.github.javaparser.ast.visitor.Visitable
accept
in class com.github.javaparser.ast.expr.NameExpr
public int getBackReferencesCount()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.