Class TSCTypeChecker
java.lang.Object
org.openrewrite.javascript.internal.tsc.TSCV8ValueHolder
org.openrewrite.javascript.internal.tsc.TSCTypeChecker
- All Implemented Interfaces:
AutoCloseable,TSCV8Backed
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.openrewrite.javascript.internal.tsc.TSCV8Backed
TSCV8Backed.DebugInfo, TSCV8Backed.Wrapper -
Method Summary
Modifier and TypeMethodDescriptionstatic TSCTypeCheckerfromJS(Supplier<TSCProgramContext> context, com.caoccao.javet.values.reference.V8ValueObject objectV8) com.caoccao.javet.values.reference.V8ValueObjectgetBaseTypes(TSCType interfaceType) getDeclaredTypeOfSymbol(TSCSymbol symbol) getFullyQualifiedName(TSCSymbol symbol) getIndexInfoOfType(TSCType type, TSCIndexKind kind) getIndexInfosOfIndexSymbol(TSCSymbol indexSymbol) getIndexInfosOfType(TSCType type) getIndexTypeOfType(TSCType type, TSCIndexKind indexKind) getNonNullableType(TSCType type) getNullableType(TSCType type, TSCTypeFlag... typeFlags) getNumberLiteralType(Number value) getPrivateIdentifierPropertyOfType(TSCType leftType, String name, TSCNode location) getPropertiesOfType(TSCType type) getPropertyOfType(TSCType type, String name) getReturnTypeOfSignature(TSCSignature signature) getSignaturesOfType(TSCType type, TSCSignatureKind signatureKind) getStringLiteralType(String value) getSymbolAtLocation(TSCNode node) getSymbolsInScope(TSCNode location, TSCSymbolFlag... meaning) getSymbolsOfParameterPropertyDeclaration(TSCNode parameterDeclaration, String parameterName) getTypeArguments(TSCType type) getTypeAtLocation(TSCNode node) getTypeFromTypeNode(TSCNode node) getTypeOfSymbol(TSCSymbol symbol) getTypeOfSymbolAtLocation(TSCSymbol symbol, TSCNode node) getWidenedType(TSCType type) signatureToString(TSCSignature signature) symbolToString(TSCSymbol symbol) typeToString(TSCType type) Methods inherited from class org.openrewrite.javascript.internal.tsc.TSCV8ValueHolder
close, lifecycleLinkedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.javascript.internal.tsc.TSCV8Backed
as, getAllPropertiesForDebugging, getAllPropertyNames, getBooleanProperty, getConstructorName, getDebugInfo, getIndexInfoListProperty, getIndexInfoProperty, getIntProperty, getLongProperty, getNodeListProperty, getNodeProperty, getOptionalBooleanProperty, getOptionalIndexInfoListProperty, getOptionalIndexInfoProperty, getOptionalIntProperty, getOptionalLongProperty, getOptionalNodeListProperty, getOptionalNodeProperty, getOptionalSignatureListProperty, getOptionalSignatureProperty, getOptionalStringProperty, getOptionalSymbolListProperty, getOptionalSymbolProperty, getOptionalSyntaxKindProperty, getOptionalSyntaxListProperty, getOptionalTypeListProperty, getOptionalTypeNodeProperty, getOptionalTypeProperty, getOwnPropertyNames, getPropertyNonNull, getPropertyNullable, getPropertyUnsafe, getSignatureListProperty, getSignatureProperty, getStringProperty, getSymbolListProperty, getSymbolProperty, getSyntaxKindProperty, getSyntaxListProperty, getTS, getTypeChecker, getTypeListProperty, getTypeNodeProperty, getTypeProperty, hasProperty, invokeMethodBoolean, invokeMethodNonNull, invokeMethodNullable, invokeMethodUnsafe
-
Method Details
-
fromJS
public static TSCTypeChecker fromJS(Supplier<TSCProgramContext> context, com.caoccao.javet.values.reference.V8ValueObject objectV8) -
getTypeOfSymbolAtLocation
-
getTypeOfSymbol
-
getDeclaredTypeOfSymbol
-
getPropertiesOfType
-
getPropertyOfType
-
getPrivateIdentifierPropertyOfType
-
getIndexInfoOfType
-
getIndexInfosOfType
-
getIndexInfosOfIndexSymbol
-
getSignaturesOfType
-
getIndexTypeOfType
-
getBaseTypes
-
getBaseTypeOfLiteralType
-
getWidenedType
-
getReturnTypeOfSignature
-
getNullableType
-
getNonNullableType
-
getTypeArguments
-
getSymbolsInScope
-
getSymbolAtLocation
-
getSymbolsOfParameterPropertyDeclaration
-
getTypeAtLocation
-
getTypeFromTypeNode
-
signatureToString
-
typeToString
-
symbolToString
-
getFullyQualifiedName
-
getAnyType
-
getStringType
-
getStringLiteralType
-
getNumberType
-
getNumberLiteralType
-
getBigIntType
-
getBooleanType
-
getFalseType
-
getTrueType
-
getVoidType
-
getUndefinedType
-
getNullType
-
getESSymbolType
-
getNeverType
-
getProgramContext
- Specified by:
getProgramContextin interfaceTSCV8Backed
-
getBackingV8Object
public com.caoccao.javet.values.reference.V8ValueObject getBackingV8Object()- Specified by:
getBackingV8Objectin interfaceTSCV8Backed
-