Class CallSignatureTree
- java.lang.Object
-
- com.google.javascript.jscomp.parsing.parser.trees.ParseTree
-
- com.google.javascript.jscomp.parsing.parser.trees.CallSignatureTree
-
public class CallSignatureTree extends ParseTree
Represents an callable or newable object in TypeScript.
-
-
Field Summary
Fields Modifier and Type Field Description FormalParameterListTree
formalParameterList
GenericTypeListTree
generics
boolean
isNew
ParseTree
returnType
-
Constructor Summary
Constructors Constructor Description CallSignatureTree(SourceRange location, boolean isNew, GenericTypeListTree generics, FormalParameterListTree formalParameterList, ParseTree returnType)
-
Method Summary
-
Methods inherited from class com.google.javascript.jscomp.parsing.parser.trees.ParseTree
asAmbientDeclaration, asArrayLiteralExpression, asArrayPattern, asArrayType, asAwaitExpression, asBinaryOperator, asBlock, asBreakStatement, asCallExpression, asCallSignature, asCaseClause, asCatch, asClassDeclaration, asCommaExpression, asComprehension, asComprehensionFor, asComprehensionIf, asComputedPropertyDefinition, asComputedPropertyGetter, asComputedPropertyMemberVariable, asComputedPropertyMethod, asComputedPropertySetter, asConditionalExpression, asContinueStatement, asDebuggerStatement, asDefaultClause, asDefaultParameter, asDoWhileStatement, asDynamicImportExpression, asEmptyStatement, asEnumDeclaration, asExportDeclaration, asExportSpecifier, asExpressionStatement, asFinally, asForAwaitOfStatement, asForInStatement, asFormalParameterList, asForOfStatement, asForStatement, asFunctionDeclaration, asFunctionType, asGenericTypeList, asGetAccessor, asIdentifierExpression, asIfStatement, asImportDeclaration, asImportMetaExpression, asImportSpecifier, asIndexSignature, asInterfaceDeclaration, asIterRest, asIterSpread, asLabelledStatement, asLiteralExpression, asMemberExpression, asMemberLookupExpression, asMemberVariable, asMissingPrimaryExpression, asNamespaceDeclaration, asNewExpression, asNewTargetExpression, asNull, asObjectLiteralExpression, asObjectPattern, asObjectRest, asObjectSpread, asOptionalCallExpression, asOptionalMemberExpression, asOptionalMemberLookupExpression, asOptionalParameter, asParameterizedType, asParenExpression, asProgram, asPropertyNameAssignment, asRecordType, asReturnStatement, asSetAccessor, asSuperExpression, asSwitchStatement, asTemplateLiteralExpression, asTemplateLiteralPortion, asTemplateSubstitution, asThisExpression, asThrowStatement, asTryStatement, asTypeAlias, asTypedParameter, asTypeName, asTypeQuery, asUnaryExpression, asUnionType, asUpdateExpression, asVariableDeclaration, asVariableDeclarationList, asVariableStatement, asWhileStatement, asWithStatement, asYieldStatement, getEnd, getStart, isPattern, isRestParameter, isValidAssignmentTarget, toString
-
-
-
-
Field Detail
-
isNew
public final boolean isNew
-
generics
public final GenericTypeListTree generics
-
formalParameterList
public final FormalParameterListTree formalParameterList
-
returnType
@Nullable public final ParseTree returnType
-
-
Constructor Detail
-
CallSignatureTree
public CallSignatureTree(SourceRange location, boolean isNew, GenericTypeListTree generics, FormalParameterListTree formalParameterList, @Nullable ParseTree returnType)
-
-