public class ParseTree
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
SourceRange |
location |
ParseTreeType |
type |
Modifier | Constructor and Description |
---|---|
protected |
ParseTree(ParseTreeType type,
SourceRange location) |
public final ParseTreeType type
public final SourceRange location
protected ParseTree(ParseTreeType type, SourceRange location)
public SourcePosition getStart()
public SourcePosition getEnd()
public ArrayLiteralExpressionTree asArrayLiteralExpression()
public ArrayPatternTree asArrayPattern()
public BinaryOperatorTree asBinaryOperator()
public BlockTree asBlock()
public BreakStatementTree asBreakStatement()
public CallExpressionTree asCallExpression()
public CaseClauseTree asCaseClause()
public CatchTree asCatch()
public ClassDeclarationTree asClassDeclaration()
public CommaExpressionTree asCommaExpression()
public ComprehensionIfTree asComprehensionIf()
public ComprehensionForTree asComprehensionFor()
public ComprehensionTree asComprehension()
public ComputedPropertyDefinitionTree asComputedPropertyDefinition()
public ComputedPropertyGetterTree asComputedPropertyGetter()
public ComputedPropertyMethodTree asComputedPropertyMethod()
public ComputedPropertyMemberVariableTree asComputedPropertyMemberVariable()
public ComputedPropertySetterTree asComputedPropertySetter()
public ConditionalExpressionTree asConditionalExpression()
public ContinueStatementTree asContinueStatement()
public DebuggerStatementTree asDebuggerStatement()
public DefaultClauseTree asDefaultClause()
public DefaultParameterTree asDefaultParameter()
public DoWhileStatementTree asDoWhileStatement()
public EmptyStatementTree asEmptyStatement()
public ExportDeclarationTree asExportDeclaration()
public ExportSpecifierTree asExportSpecifier()
public ExpressionStatementTree asExpressionStatement()
public FinallyTree asFinally()
public ForOfStatementTree asForOfStatement()
public ForInStatementTree asForInStatement()
public FormalParameterListTree asFormalParameterList()
public ForStatementTree asForStatement()
public FunctionDeclarationTree asFunctionDeclaration()
public GetAccessorTree asGetAccessor()
public IdentifierExpressionTree asIdentifierExpression()
public IfStatementTree asIfStatement()
public ImportDeclarationTree asImportDeclaration()
public ImportSpecifierTree asImportSpecifier()
public DynamicImportTree asDynamicImportExpression()
public ImportMetaExpressionTree asImportMetaExpression()
public LabelledStatementTree asLabelledStatement()
public LiteralExpressionTree asLiteralExpression()
public MemberExpressionTree asMemberExpression()
public MemberLookupExpressionTree asMemberLookupExpression()
public MemberVariableTree asMemberVariable()
public MissingPrimaryExpressionTree asMissingPrimaryExpression()
public NewExpressionTree asNewExpression()
public NullTree asNull()
public ObjectLiteralExpressionTree asObjectLiteralExpression()
public ObjectPatternTree asObjectPattern()
public ParenExpressionTree asParenExpression()
public ProgramTree asProgram()
public PropertyNameAssignmentTree asPropertyNameAssignment()
public IterRestTree asIterRest()
public ObjectRestTree asObjectRest()
public ReturnStatementTree asReturnStatement()
public SetAccessorTree asSetAccessor()
public IterSpreadTree asIterSpread()
public ObjectSpreadTree asObjectSpread()
public SuperExpressionTree asSuperExpression()
public SwitchStatementTree asSwitchStatement()
public TemplateLiteralExpressionTree asTemplateLiteralExpression()
public TemplateLiteralPortionTree asTemplateLiteralPortion()
public TemplateSubstitutionTree asTemplateSubstitution()
public ThisExpressionTree asThisExpression()
public ThrowStatementTree asThrowStatement()
public TryStatementTree asTryStatement()
public TypeNameTree asTypeName()
public TypedParameterTree asTypedParameter()
public OptionalParameterTree asOptionalParameter()
public ParameterizedTypeTree asParameterizedType()
public ArrayTypeTree asArrayType()
public RecordTypeTree asRecordType()
public UnionTypeTree asUnionType()
public FunctionTypeTree asFunctionType()
public TypeQueryTree asTypeQuery()
public GenericTypeListTree asGenericTypeList()
public UnaryExpressionTree asUnaryExpression()
public VariableDeclarationListTree asVariableDeclarationList()
public VariableDeclarationTree asVariableDeclaration()
public VariableStatementTree asVariableStatement()
public WhileStatementTree asWhileStatement()
public WithStatementTree asWithStatement()
public YieldExpressionTree asYieldStatement()
public AwaitExpressionTree asAwaitExpression()
public InterfaceDeclarationTree asInterfaceDeclaration()
public EnumDeclarationTree asEnumDeclaration()
public TypeAliasTree asTypeAlias()
public AmbientDeclarationTree asAmbientDeclaration()
public NamespaceDeclarationTree asNamespaceDeclaration()
public IndexSignatureTree asIndexSignature()
public CallSignatureTree asCallSignature()
public NewTargetExpressionTree asNewTargetExpression()
public UpdateExpressionTree asUpdateExpression()
public ForAwaitOfStatementTree asForAwaitOfStatement()
public boolean isPattern()
public boolean isValidAssignmentTarget()
public boolean isRestParameter()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009-2020 Google. All Rights Reserved.