Uses of Class
com.github.javaparser.TokenRange
-
-
Uses of TokenRange in com.github.javaparser
Fields in com.github.javaparser declared as TokenRange Modifier and Type Field Description static TokenRange
TokenRange. INVALID
Methods in com.github.javaparser that return TokenRange Modifier and Type Method Description TokenRange
JavaToken. toTokenRange()
TokenRange
TokenRange. withBegin(JavaToken begin)
TokenRange
TokenRange. withEnd(JavaToken end)
Methods in com.github.javaparser that return types with arguments of type TokenRange Modifier and Type Method Description Optional<TokenRange>
Problem. getLocation()
Optional<TokenRange>
Problem. getRange()
Deprecated.use getLocation()Constructors in com.github.javaparser with parameters of type TokenRange Constructor Description Problem(String message, TokenRange location, Throwable cause)
-
Uses of TokenRange in com.github.javaparser.ast
Methods in com.github.javaparser.ast that return types with arguments of type TokenRange Modifier and Type Method Description Optional<TokenRange>
Node. getTokenRange()
Methods in com.github.javaparser.ast with parameters of type TokenRange Modifier and Type Method Description Node
Node. setTokenRange(TokenRange tokenRange)
Constructors in com.github.javaparser.ast with parameters of type TokenRange Constructor Description ArrayCreationLevel(TokenRange tokenRange, Expression dimension, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.CompilationUnit(TokenRange tokenRange, PackageDeclaration packageDeclaration, NodeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module)
This constructor is used by the parser and is considered private.ImportDeclaration(TokenRange tokenRange, Name name, boolean isStatic, boolean isAsterisk)
This constructor is used by the parser and is considered private.Modifier(TokenRange tokenRange, Modifier.Keyword keyword)
This constructor is used by the parser and is considered private.Node(TokenRange tokenRange)
PackageDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name)
This constructor is used by the parser and is considered private. -
Uses of TokenRange in com.github.javaparser.ast.body
Constructors in com.github.javaparser.ast.body with parameters of type TokenRange Constructor Description AnnotationDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.AnnotationMemberDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, SimpleName name, Expression defaultValue)
This constructor is used by the parser and is considered private.BodyDeclaration(TokenRange range)
BodyDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.CallableDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.ClassOrInterfaceDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, boolean isInterface, SimpleName name, NodeList<TypeParameter> typeParameters, NodeList<ClassOrInterfaceType> extendedTypes, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.ConstructorDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.EnumConstantDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<Expression> arguments, NodeList<BodyDeclaration<?>> classBody)
This constructor is used by the parser and is considered private.EnumDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<ClassOrInterfaceType> implementedTypes, NodeList<EnumConstantDeclaration> entries, NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.FieldDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private.InitializerDeclaration(TokenRange tokenRange, boolean isStatic, BlockStmt body)
This constructor is used by the parser and is considered private.MethodDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, Type type, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, BlockStmt body, ReceiverParameter receiverParameter)
This constructor is used by the parser and is considered private.Parameter(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, Type type, boolean isVarArgs, NodeList<AnnotationExpr> varArgsAnnotations, SimpleName name)
This constructor is used by the parser and is considered private.ReceiverParameter(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Type type, Name name)
This constructor is used by the parser and is considered private.TypeDeclaration(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members)
This constructor is used by the parser and is considered private.VariableDeclarator(TokenRange tokenRange, Type type, SimpleName name, Expression initializer)
This constructor is used by the parser and is considered private. -
Uses of TokenRange in com.github.javaparser.ast.comments
Constructors in com.github.javaparser.ast.comments with parameters of type TokenRange Constructor Description BlockComment(TokenRange tokenRange, String content)
This constructor is used by the parser and is considered private.Comment(TokenRange tokenRange, String content)
This constructor is used by the parser and is considered private.JavadocComment(TokenRange tokenRange, String content)
This constructor is used by the parser and is considered private.LineComment(TokenRange tokenRange, String content)
This constructor is used by the parser and is considered private. -
Uses of TokenRange in com.github.javaparser.ast.expr
Constructors in com.github.javaparser.ast.expr with parameters of type TokenRange Constructor Description AnnotationExpr(TokenRange tokenRange, Name name)
This constructor is used by the parser and is considered private.ArrayAccessExpr(TokenRange tokenRange, Expression name, Expression index)
This constructor is used by the parser and is considered private.ArrayCreationExpr(TokenRange tokenRange, Type elementType, NodeList<ArrayCreationLevel> levels, ArrayInitializerExpr initializer)
This constructor is used by the parser and is considered private.ArrayInitializerExpr(TokenRange tokenRange, NodeList<Expression> values)
This constructor is used by the parser and is considered private.AssignExpr(TokenRange tokenRange, Expression target, Expression value, AssignExpr.Operator operator)
This constructor is used by the parser and is considered private.BinaryExpr(TokenRange tokenRange, Expression left, Expression right, BinaryExpr.Operator operator)
This constructor is used by the parser and is considered private.BooleanLiteralExpr(TokenRange tokenRange, boolean value)
This constructor is used by the parser and is considered private.CastExpr(TokenRange tokenRange, Type type, Expression expression)
This constructor is used by the parser and is considered private.CharLiteralExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.ClassExpr(TokenRange tokenRange, Type type)
This constructor is used by the parser and is considered private.ConditionalExpr(TokenRange tokenRange, Expression condition, Expression thenExpr, Expression elseExpr)
This constructor is used by the parser and is considered private.DoubleLiteralExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.EnclosedExpr(TokenRange tokenRange, Expression inner)
This constructor is used by the parser and is considered private.Expression(TokenRange tokenRange)
This constructor is used by the parser and is considered private.FieldAccessExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, SimpleName name)
This constructor is used by the parser and is considered private.InstanceOfExpr(TokenRange tokenRange, Expression expression, ReferenceType type)
This constructor is used by the parser and is considered private.IntegerLiteralExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.LambdaExpr(TokenRange tokenRange, NodeList<Parameter> parameters, Statement body, boolean isEnclosingParameters)
This constructor is used by the parser and is considered private.LiteralExpr(TokenRange tokenRange)
This constructor is used by the parser and is considered private.LiteralStringValueExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.LongLiteralExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.MarkerAnnotationExpr(TokenRange tokenRange, Name name)
This constructor is used by the parser and is considered private.MemberValuePair(TokenRange tokenRange, SimpleName name, Expression value)
This constructor is used by the parser and is considered private.MethodCallExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, SimpleName name, NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.MethodReferenceExpr(TokenRange tokenRange, Expression scope, NodeList<Type> typeArguments, String identifier)
This constructor is used by the parser and is considered private.Name(TokenRange tokenRange, Name qualifier, String identifier)
This constructor is used by the parser and is considered private.NameExpr(TokenRange tokenRange, SimpleName name)
This constructor is used by the parser and is considered private.NormalAnnotationExpr(TokenRange tokenRange, Name name, NodeList<MemberValuePair> pairs)
This constructor is used by the parser and is considered private.NullLiteralExpr(TokenRange tokenRange)
This constructor is used by the parser and is considered private.ObjectCreationExpr(TokenRange tokenRange, Expression scope, ClassOrInterfaceType type, NodeList<Type> typeArguments, NodeList<Expression> arguments, NodeList<BodyDeclaration<?>> anonymousClassBody)
This constructor is used by the parser and is considered private.SimpleName(TokenRange tokenRange, String identifier)
This constructor is used by the parser and is considered private.SingleMemberAnnotationExpr(TokenRange tokenRange, Name name, Expression memberValue)
This constructor is used by the parser and is considered private.StringLiteralExpr(TokenRange tokenRange, String value)
This constructor is used by the parser and is considered private.SuperExpr(TokenRange tokenRange, Expression classExpr)
This constructor is used by the parser and is considered private.SwitchExpr(TokenRange tokenRange, Expression selector, NodeList<SwitchEntryStmt> entries)
This constructor is used by the parser and is considered private.ThisExpr(TokenRange tokenRange, Expression classExpr)
This constructor is used by the parser and is considered private.TypeExpr(TokenRange tokenRange, Type type)
This constructor is used by the parser and is considered private.UnaryExpr(TokenRange tokenRange, Expression expression, UnaryExpr.Operator operator)
This constructor is used by the parser and is considered private.VariableDeclarationExpr(TokenRange tokenRange, NodeList<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<VariableDeclarator> variables)
This constructor is used by the parser and is considered private. -
Uses of TokenRange in com.github.javaparser.ast.modules
Constructors in com.github.javaparser.ast.modules with parameters of type TokenRange Constructor Description ModuleDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList<ModuleDirective> directives)
This constructor is used by the parser and is considered private.ModuleDirective(TokenRange tokenRange)
This constructor is used by the parser and is considered private.ModuleExportsDirective(TokenRange tokenRange, Name name, NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.ModuleOpensDirective(TokenRange tokenRange, Name name, NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.ModuleProvidesDirective(TokenRange tokenRange, Name name, NodeList<Name> with)
This constructor is used by the parser and is considered private.ModuleRequiresDirective(TokenRange tokenRange, NodeList<Modifier> modifiers, Name name)
This constructor is used by the parser and is considered private.ModuleUsesDirective(TokenRange tokenRange, Name name)
This constructor is used by the parser and is considered private. -
Uses of TokenRange in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type TokenRange Modifier and Type Method Description Optional<TokenRange>
NodeWithTokenRange. getTokenRange()
Methods in com.github.javaparser.ast.nodeTypes with parameters of type TokenRange Modifier and Type Method Description N
NodeWithTokenRange. setTokenRange(TokenRange range)
-
Uses of TokenRange in com.github.javaparser.ast.stmt
Constructors in com.github.javaparser.ast.stmt with parameters of type TokenRange Constructor Description AssertStmt(TokenRange tokenRange, Expression check, Expression message)
This constructor is used by the parser and is considered private.BlockStmt(TokenRange tokenRange, NodeList<Statement> statements)
This constructor is used by the parser and is considered private.BreakStmt(TokenRange tokenRange, SimpleName label)
This constructor is used by the parser and is considered private.CatchClause(TokenRange tokenRange, Parameter parameter, BlockStmt body)
This constructor is used by the parser and is considered private.ContinueStmt(TokenRange tokenRange, SimpleName label)
This constructor is used by the parser and is considered private.DoStmt(TokenRange tokenRange, Statement body, Expression condition)
This constructor is used by the parser and is considered private.EmptyStmt(TokenRange tokenRange)
This constructor is used by the parser and is considered private.ExplicitConstructorInvocationStmt(TokenRange tokenRange, NodeList<Type> typeArguments, boolean isThis, Expression expression, NodeList<Expression> arguments)
This constructor is used by the parser and is considered private.ExpressionStmt(TokenRange tokenRange, Expression expression)
This constructor is used by the parser and is considered private.ForEachStmt(TokenRange tokenRange, VariableDeclarationExpr variable, Expression iterable, Statement body)
This constructor is used by the parser and is considered private.ForStmt(TokenRange tokenRange, NodeList<Expression> initialization, Expression compare, NodeList<Expression> update, Statement body)
This constructor is used by the parser and is considered private.IfStmt(TokenRange tokenRange, Expression condition, Statement thenStmt, Statement elseStmt)
This constructor is used by the parser and is considered private.LabeledStmt(TokenRange tokenRange, SimpleName label, Statement statement)
This constructor is used by the parser and is considered private.LocalClassDeclarationStmt(TokenRange tokenRange, ClassOrInterfaceDeclaration classDeclaration)
This constructor is used by the parser and is considered private.ReturnStmt(TokenRange tokenRange, Expression expression)
This constructor is used by the parser and is considered private.Statement(TokenRange tokenRange)
This constructor is used by the parser and is considered private.SwitchEntryStmt(TokenRange tokenRange, Expression label, NodeList<Statement> statements)
This constructor is used by the parser and is considered private.SwitchStmt(TokenRange tokenRange, Expression selector, NodeList<SwitchEntryStmt> entries)
This constructor is used by the parser and is considered private.SynchronizedStmt(TokenRange tokenRange, Expression expression, BlockStmt body)
This constructor is used by the parser and is considered private.ThrowStmt(TokenRange tokenRange, Expression expression)
This constructor is used by the parser and is considered private.TryStmt(TokenRange tokenRange, NodeList<Expression> resources, BlockStmt tryBlock, NodeList<CatchClause> catchClauses, BlockStmt finallyBlock)
This constructor is used by the parser and is considered private.UnparsableStmt(TokenRange tokenRange)
This constructor is used by the parser and is considered private.WhileStmt(TokenRange tokenRange, Expression condition, Statement body)
This constructor is used by the parser and is considered private. -
Uses of TokenRange in com.github.javaparser.ast.type
Methods in com.github.javaparser.ast.type that return types with arguments of type TokenRange Modifier and Type Method Description Optional<TokenRange>
ArrayType.ArrayBracketPair. getTokenRange()
Methods in com.github.javaparser.ast.type with parameters of type TokenRange Modifier and Type Method Description ArrayType.ArrayBracketPair
ArrayType.ArrayBracketPair. setTokenRange(TokenRange range)
Constructors in com.github.javaparser.ast.type with parameters of type TokenRange Constructor Description ArrayBracketPair(TokenRange tokenRange, ArrayType.Origin origin, NodeList<AnnotationExpr> annotations)
ArrayType(TokenRange tokenRange, Type componentType, ArrayType.Origin origin, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.ClassOrInterfaceType(TokenRange tokenRange, ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.IntersectionType(TokenRange tokenRange, NodeList<ReferenceType> elements)
This constructor is used by the parser and is considered private.PrimitiveType(TokenRange tokenRange, PrimitiveType.Primitive type, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.ReferenceType(TokenRange tokenRange, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.Type(TokenRange range)
Several sub classes do not support annotations.Type(TokenRange tokenRange, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.TypeParameter(TokenRange tokenRange, SimpleName name, NodeList<ClassOrInterfaceType> typeBound, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private.UnionType(TokenRange tokenRange, NodeList<ReferenceType> elements)
This constructor is used by the parser and is considered private.UnknownType(TokenRange tokenRange)
This constructor is used by the parser and is considered private.VarType(TokenRange tokenRange)
This constructor is used by the parser and is considered private.VoidType(TokenRange tokenRange)
This constructor is used by the parser and is considered private.WildcardType(TokenRange tokenRange, ReferenceType extendedType, ReferenceType superType)
This constructor is used by the parser and is considered private.WildcardType(TokenRange tokenRange, ReferenceType extendedType, ReferenceType superType, NodeList<AnnotationExpr> annotations)
This constructor is used by the parser and is considered private. -
Uses of TokenRange in com.github.javaparser.ast.validator
Methods in com.github.javaparser.ast.validator with parameters of type TokenRange Modifier and Type Method Description void
ProblemReporter. report(TokenRange range, String message, Object... args)
-