Uses of Class
com.google.javascript.jscomp.parsing.parser.util.SourceRange
-
Packages that use SourceRange Package Description com.google.javascript.jscomp.parsing.parser com.google.javascript.jscomp.parsing.parser.trees -
-
Uses of SourceRange in com.google.javascript.jscomp.parsing.parser
Fields in com.google.javascript.jscomp.parsing.parser declared as SourceRange Modifier and Type Field Description SourceRange
Token. location
Methods in com.google.javascript.jscomp.parsing.parser with parameters of type SourceRange Modifier and Type Method Description void
Scanner.CommentRecorder. recordComment(Comment.Type type, SourceRange range, java.lang.String value)
Constructors in com.google.javascript.jscomp.parsing.parser with parameters of type SourceRange Constructor Description IdentifierToken(SourceRange location, java.lang.String value)
LiteralToken(TokenType type, java.lang.String value, SourceRange location)
StringLiteralToken(java.lang.String value, SourceRange location, boolean hasUnescapedUnicodeLineOrParagraphSeparator)
TemplateLiteralToken(TokenType type, java.lang.String value, java.lang.String errorMsg, SourcePosition position, SourceRange location)
Token(TokenType type, SourceRange location)
-
Uses of SourceRange in com.google.javascript.jscomp.parsing.parser.trees
Fields in com.google.javascript.jscomp.parsing.parser.trees declared as SourceRange Modifier and Type Field Description SourceRange
Comment. location
SourceRange
ParseTree. location
Methods in com.google.javascript.jscomp.parsing.parser.trees with parameters of type SourceRange Modifier and Type Method Description FunctionDeclarationTree
FunctionDeclarationTree.Builder. build(SourceRange location)
Return a newFunctionDeclarationTree
.static UpdateExpressionTree
UpdateExpressionTree. postfix(SourceRange location, Token operator, ParseTree operand)
static UpdateExpressionTree
UpdateExpressionTree. prefix(SourceRange location, Token operator, ParseTree operand)
Constructors in com.google.javascript.jscomp.parsing.parser.trees with parameters of type SourceRange Constructor Description ArgumentListTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> arguments, boolean hasTrailingComma, com.google.common.collect.ImmutableList<SourcePosition> commaPositions)
ArrayLiteralExpressionTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> elements, boolean hasTrailingComma)
ArrayPatternTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> elements)
AwaitExpressionTree(SourceRange location, ParseTree expression)
BinaryOperatorTree(SourceRange location, ParseTree left, Token operator, ParseTree right)
BlockTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> statements)
BreakStatementTree(SourceRange location, IdentifierToken name)
CallExpressionTree(SourceRange location, ParseTree operand, ArgumentListTree arguments)
CaseClauseTree(SourceRange location, ParseTree expression, com.google.common.collect.ImmutableList<ParseTree> statements)
CatchTree(SourceRange location, ParseTree exception, ParseTree catchBody)
ClassDeclarationTree(SourceRange location, IdentifierToken name, ParseTree superClass, com.google.common.collect.ImmutableList<ParseTree> elements)
CommaExpressionTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> expressions)
Comment(java.lang.String value, SourceRange location, Comment.Type type)
ComprehensionForTree(SourceRange location, ParseTree initializer, ParseTree collection)
ComprehensionIfTree(SourceRange location, ParseTree expression)
ComprehensionTree(SourceRange location, ComprehensionTree.ComprehensionType type, com.google.common.collect.ImmutableList<ParseTree> children, ParseTree tailExpression)
ComputedPropertyDefinitionTree(SourceRange location, ParseTree property, ParseTree value)
ComputedPropertyFieldTree(SourceRange location, ParseTree property, boolean isStatic, ParseTree initializer)
ComputedPropertyGetterTree(SourceRange location, ParseTree property, boolean isStatic, BlockTree body)
ComputedPropertyMethodTree(SourceRange location, ParseTree property, ParseTree method)
ComputedPropertySetterTree(SourceRange location, ParseTree property, boolean isStatic, FormalParameterListTree parameter, BlockTree body)
ConditionalExpressionTree(SourceRange location, ParseTree condition, ParseTree left, ParseTree right)
ContinueStatementTree(SourceRange location, IdentifierToken name)
DebuggerStatementTree(SourceRange location)
DefaultClauseTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> statements)
DefaultParameterTree(SourceRange location, ParseTree lhs, ParseTree defaultValue)
DoWhileStatementTree(SourceRange location, ParseTree body, ParseTree condition)
DynamicImportTree(SourceRange location, ParseTree argument)
EmptyStatementTree(SourceRange location)
ExportDeclarationTree(SourceRange location, boolean isDefault, boolean isExportAll, ParseTree declaration, com.google.common.collect.ImmutableList<ParseTree> exportSpecifierList, LiteralToken from)
ExportSpecifierTree(SourceRange location, IdentifierToken importedName, IdentifierToken destinationName)
ExpressionStatementTree(SourceRange location, ParseTree expression)
FieldDeclarationTree(SourceRange location, IdentifierToken name, boolean isStatic, ParseTree initializer)
FinallyTree(SourceRange location, ParseTree block)
ForAwaitOfStatementTree(SourceRange location, ParseTree initializer, ParseTree collection, ParseTree body)
ForInStatementTree(SourceRange location, ParseTree initializer, ParseTree collection, ParseTree body)
FormalParameterListTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> parameters, boolean hasTrailingComma, com.google.common.collect.ImmutableList<SourcePosition> commaPositions)
ForOfStatementTree(SourceRange location, ParseTree initializer, ParseTree collection, ParseTree body)
ForStatementTree(SourceRange location, ParseTree variables, ParseTree condition, ParseTree increment, ParseTree body)
GetAccessorTree(SourceRange location, Token propertyName, boolean isStatic, BlockTree body)
IdentifierExpressionTree(SourceRange location, IdentifierToken identifierToken)
IfStatementTree(SourceRange location, ParseTree condition, ParseTree ifClause, ParseTree elseClause)
ImportDeclarationTree(SourceRange location, IdentifierToken defaultBindingIdentifier, com.google.common.collect.ImmutableList<ParseTree> importSpecifierList, IdentifierToken nameSpaceImportIdentifier, LiteralToken moduleSpecifier)
ImportMetaExpressionTree(SourceRange location)
ImportSpecifierTree(SourceRange location, IdentifierToken importedName, IdentifierToken destinationName)
IterRestTree(SourceRange location, ParseTree assignmentTarget)
IterSpreadTree(SourceRange location, ParseTree expression)
LabelledStatementTree(SourceRange location, IdentifierToken name, ParseTree statement)
LiteralExpressionTree(SourceRange location, Token literalToken)
MemberExpressionTree(SourceRange location, ParseTree operand, IdentifierToken memberName)
MemberLookupExpressionTree(SourceRange location, ParseTree operand, ParseTree memberExpression)
MissingPrimaryExpressionTree(SourceRange location)
NewExpressionTree(SourceRange location, ParseTree operand, ArgumentListTree arguments, boolean hasTrailingComma)
NewTargetExpressionTree(SourceRange location)
NullTree(SourceRange location)
ObjectLiteralExpressionTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> propertyNameAndValues, boolean hasTrailingComma)
ObjectPatternTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> fields)
ObjectRestTree(SourceRange location, ParseTree assignmentTarget)
ObjectSpreadTree(SourceRange location, ParseTree expression)
OptChainCallExpressionTree(SourceRange location, ParseTree operand, ArgumentListTree arguments, boolean isStartOfOptionalChain, boolean hasTrailingComma)
OptionalMemberExpressionTree(SourceRange location, ParseTree operand, IdentifierToken memberName, boolean isStartOfOptionalChain)
OptionalMemberLookupExpressionTree(SourceRange location, ParseTree operand, ParseTree memberExpression, boolean isStartOfOptionalChain)
ParenExpressionTree(SourceRange location, ParseTree expression)
ParseTree(ParseTreeType type, SourceRange location)
ProgramTree(SourceRange location, com.google.common.collect.ImmutableList<ParseTree> sourceElements, com.google.common.collect.ImmutableList<Comment> sourceComments)
PropertyNameAssignmentTree(SourceRange location, Token name, ParseTree value)
ReturnStatementTree(SourceRange location, ParseTree expression)
SetAccessorTree(SourceRange location, Token propertyName, boolean isStatic, FormalParameterListTree parameter, BlockTree body)
SuperExpressionTree(SourceRange location)
SwitchStatementTree(SourceRange location, ParseTree expression, com.google.common.collect.ImmutableList<ParseTree> caseClauses)
TemplateLiteralExpressionTree(SourceRange location, ParseTree operand, com.google.common.collect.ImmutableList<ParseTree> elements)
TemplateLiteralPortionTree(SourceRange location, Token value)
TemplateSubstitutionTree(SourceRange location, ParseTree expression)
ThisExpressionTree(SourceRange location)
ThrowStatementTree(SourceRange location, ParseTree value)
TryStatementTree(SourceRange location, ParseTree body, ParseTree catchBlock, ParseTree finallyBlock)
UnaryExpressionTree(SourceRange location, Token operator, ParseTree operand)
UpdateExpressionTree(SourceRange location, Token operator, UpdateExpressionTree.OperatorPosition operatorPosition, ParseTree operand)
VariableDeclarationListTree(SourceRange location, TokenType declarationType, com.google.common.collect.ImmutableList<VariableDeclarationTree> declarations)
VariableDeclarationTree(SourceRange location, ParseTree lvalue, ParseTree initializer)
VariableStatementTree(SourceRange location, VariableDeclarationListTree declarations)
WhileStatementTree(SourceRange location, ParseTree condition, ParseTree body)
WithStatementTree(SourceRange location, ParseTree expression, ParseTree body)
YieldExpressionTree(SourceRange location, boolean isYieldAll, ParseTree expression)
-