brighterscript 0.65.0 → 0.66.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +8 -0
- package/dist/BsConfig.d.ts +5 -11
- package/dist/CacheVerifier.d.ts +8 -0
- package/dist/CacheVerifier.js +20 -0
- package/dist/CacheVerifier.js.map +1 -0
- package/dist/DiagnosticMessages.d.ts +9 -4
- package/dist/DiagnosticMessages.js +8 -3
- package/dist/DiagnosticMessages.js.map +1 -1
- package/dist/FunctionScope.d.ts +1 -0
- package/dist/FunctionScope.js +3 -0
- package/dist/FunctionScope.js.map +1 -1
- package/dist/PluginInterface.d.ts +0 -4
- package/dist/PluginInterface.js.map +1 -1
- package/dist/Program.d.ts +6 -39
- package/dist/Program.js +42 -44
- package/dist/Program.js.map +1 -1
- package/dist/ProgramBuilder.d.ts +4 -0
- package/dist/ProgramBuilder.js +12 -7
- package/dist/ProgramBuilder.js.map +1 -1
- package/dist/Scope.d.ts +1 -5
- package/dist/Scope.js +3 -28
- package/dist/Scope.js.map +1 -1
- package/dist/SymbolTable.d.ts +44 -6
- package/dist/SymbolTable.js +151 -25
- package/dist/SymbolTable.js.map +1 -1
- package/dist/XmlScope.js +11 -12
- package/dist/XmlScope.js.map +1 -1
- package/dist/astUtils/creators.d.ts +16 -6
- package/dist/astUtils/creators.js +39 -16
- package/dist/astUtils/creators.js.map +1 -1
- package/dist/astUtils/reflection.d.ts +46 -37
- package/dist/astUtils/reflection.js +145 -147
- package/dist/astUtils/reflection.js.map +1 -1
- package/dist/astUtils/reflection.spec.js +1 -6
- package/dist/astUtils/reflection.spec.js.map +1 -1
- package/dist/astUtils/visitors.d.ts +4 -11
- package/dist/astUtils/visitors.js +0 -7
- package/dist/astUtils/visitors.js.map +1 -1
- package/dist/astUtils/visitors.spec.js +4 -2
- package/dist/astUtils/visitors.spec.js.map +1 -1
- package/dist/astUtils/xml.d.ts +9 -9
- package/dist/astUtils/xml.js +6 -6
- package/dist/astUtils/xml.js.map +1 -1
- package/dist/bscPlugin/BscPlugin.js +4 -0
- package/dist/bscPlugin/BscPlugin.js.map +1 -1
- package/dist/bscPlugin/CallExpressionInfo.js.map +1 -1
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.js +2 -2
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.js.map +1 -1
- package/dist/bscPlugin/hover/HoverProcessor.js +71 -59
- package/dist/bscPlugin/hover/HoverProcessor.js.map +1 -1
- package/dist/bscPlugin/hover/HoverProcessor.spec.js +110 -10
- package/dist/bscPlugin/hover/HoverProcessor.spec.js.map +1 -1
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js +6 -5
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js.map +1 -1
- package/dist/bscPlugin/transpile/BrsFilePreTranspileProcessor.js +1 -1
- package/dist/bscPlugin/transpile/BrsFilePreTranspileProcessor.js.map +1 -1
- package/dist/bscPlugin/transpile/XmlFilePreTranspileProcessor.d.ts +11 -0
- package/dist/bscPlugin/transpile/XmlFilePreTranspileProcessor.js +53 -0
- package/dist/bscPlugin/transpile/XmlFilePreTranspileProcessor.js.map +1 -0
- package/dist/bscPlugin/validation/BrsFileValidator.d.ts +4 -0
- package/dist/bscPlugin/validation/BrsFileValidator.js +72 -16
- package/dist/bscPlugin/validation/BrsFileValidator.js.map +1 -1
- package/dist/bscPlugin/validation/BrsFileValidator.spec.js +1 -1
- package/dist/bscPlugin/validation/BrsFileValidator.spec.js.map +1 -1
- package/dist/bscPlugin/validation/ScopeValidator.d.ts +1 -0
- package/dist/bscPlugin/validation/ScopeValidator.js +72 -18
- package/dist/bscPlugin/validation/ScopeValidator.js.map +1 -1
- package/dist/bscPlugin/validation/XmlFileValidator.js +9 -9
- package/dist/bscPlugin/validation/XmlFileValidator.js.map +1 -1
- package/dist/files/BrsFile.Class.spec.js +47 -10
- package/dist/files/BrsFile.Class.spec.js.map +1 -1
- package/dist/files/BrsFile.d.ts +8 -10
- package/dist/files/BrsFile.js +72 -52
- package/dist/files/BrsFile.js.map +1 -1
- package/dist/files/BrsFile.spec.js +56 -14
- package/dist/files/BrsFile.spec.js.map +1 -1
- package/dist/files/XmlFile.d.ts +19 -19
- package/dist/files/XmlFile.js +24 -42
- package/dist/files/XmlFile.js.map +1 -1
- package/dist/files/XmlFile.spec.js +61 -9
- package/dist/files/XmlFile.spec.js.map +1 -1
- package/dist/files/tests/imports.spec.js +8 -11
- package/dist/files/tests/imports.spec.js.map +1 -1
- package/dist/globalCallables.js +2 -1
- package/dist/globalCallables.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +20 -1
- package/dist/interfaces.js +13 -0
- package/dist/interfaces.js.map +1 -1
- package/dist/lexer/TokenKind.d.ts +2 -0
- package/dist/lexer/TokenKind.js +5 -1
- package/dist/lexer/TokenKind.js.map +1 -1
- package/dist/parser/AstNode.d.ts +78 -1
- package/dist/parser/AstNode.js +80 -1
- package/dist/parser/AstNode.js.map +1 -1
- package/dist/parser/Expression.d.ts +87 -53
- package/dist/parser/Expression.js +243 -139
- package/dist/parser/Expression.js.map +1 -1
- package/dist/parser/Parser.Class.spec.js +10 -7
- package/dist/parser/Parser.Class.spec.js.map +1 -1
- package/dist/parser/Parser.d.ts +9 -5
- package/dist/parser/Parser.js +125 -78
- package/dist/parser/Parser.js.map +1 -1
- package/dist/parser/Parser.spec.d.ts +2 -0
- package/dist/parser/Parser.spec.js +117 -5
- package/dist/parser/Parser.spec.js.map +1 -1
- package/dist/parser/SGParser.d.ts +42 -4
- package/dist/parser/SGParser.js +191 -195
- package/dist/parser/SGParser.js.map +1 -1
- package/dist/parser/SGParser.spec.js +13 -10
- package/dist/parser/SGParser.spec.js.map +1 -1
- package/dist/parser/SGTypes.d.ts +279 -51
- package/dist/parser/SGTypes.js +562 -185
- package/dist/parser/SGTypes.js.map +1 -1
- package/dist/parser/Statement.d.ts +88 -70
- package/dist/parser/Statement.js +222 -145
- package/dist/parser/Statement.js.map +1 -1
- package/dist/parser/TranspileState.d.ts +1 -1
- package/dist/parser/TranspileState.js +5 -2
- package/dist/parser/TranspileState.js.map +1 -1
- package/dist/parser/tests/expression/TypeExpression.spec.d.ts +1 -0
- package/dist/parser/tests/expression/TypeExpression.spec.js +127 -0
- package/dist/parser/tests/expression/TypeExpression.spec.js.map +1 -0
- package/dist/types/ArrayType.d.ts +6 -4
- package/dist/types/ArrayType.js +30 -22
- package/dist/types/ArrayType.js.map +1 -1
- package/dist/types/ArrayType.spec.js +8 -8
- package/dist/types/ArrayType.spec.js.map +1 -1
- package/dist/types/BooleanType.d.ts +7 -4
- package/dist/types/BooleanType.js +13 -8
- package/dist/types/BooleanType.js.map +1 -1
- package/dist/types/BooleanType.spec.js +9 -3
- package/dist/types/BooleanType.spec.js.map +1 -1
- package/dist/types/BscType.d.ts +25 -2
- package/dist/types/BscType.js +64 -0
- package/dist/types/BscType.js.map +1 -1
- package/dist/types/BscTypeKind.d.ts +22 -0
- package/dist/types/BscTypeKind.js +27 -0
- package/dist/types/BscTypeKind.js.map +1 -0
- package/dist/types/ClassType.d.ts +11 -0
- package/dist/types/ClassType.js +31 -0
- package/dist/types/ClassType.js.map +1 -0
- package/dist/types/ClassType.spec.d.ts +1 -0
- package/dist/types/ClassType.spec.js +75 -0
- package/dist/types/ClassType.spec.js.map +1 -0
- package/dist/types/DoubleType.d.ts +7 -4
- package/dist/types/DoubleType.js +16 -20
- package/dist/types/DoubleType.js.map +1 -1
- package/dist/types/DoubleType.spec.js +11 -3
- package/dist/types/DoubleType.spec.js.map +1 -1
- package/dist/types/DynamicType.d.ts +9 -3
- package/dist/types/DynamicType.js +16 -2
- package/dist/types/DynamicType.js.map +1 -1
- package/dist/types/DynamicType.spec.js +15 -4
- package/dist/types/DynamicType.spec.js.map +1 -1
- package/dist/types/EnumType.d.ts +22 -0
- package/dist/types/EnumType.js +59 -0
- package/dist/types/EnumType.js.map +1 -0
- package/dist/types/EnumType.spec.d.ts +1 -0
- package/dist/types/EnumType.spec.js +33 -0
- package/dist/types/EnumType.spec.js.map +1 -0
- package/dist/types/FloatType.d.ts +7 -4
- package/dist/types/FloatType.js +16 -20
- package/dist/types/FloatType.js.map +1 -1
- package/dist/types/FloatType.spec.js +3 -3
- package/dist/types/FloatType.spec.js.map +1 -1
- package/dist/types/FunctionType.d.ts +6 -4
- package/dist/types/FunctionType.js +22 -19
- package/dist/types/FunctionType.js.map +1 -1
- package/dist/types/FunctionType.spec.js +5 -5
- package/dist/types/FunctionType.spec.js.map +1 -1
- package/dist/types/InheritableType.d.ts +25 -0
- package/dist/types/InheritableType.js +88 -0
- package/dist/types/InheritableType.js.map +1 -0
- package/dist/types/IntegerType.d.ts +7 -4
- package/dist/types/IntegerType.js +16 -20
- package/dist/types/IntegerType.js.map +1 -1
- package/dist/types/IntegerType.spec.js +7 -3
- package/dist/types/IntegerType.spec.js.map +1 -1
- package/dist/types/InterfaceType.d.ts +10 -10
- package/dist/types/InterfaceType.js +24 -45
- package/dist/types/InterfaceType.js.map +1 -1
- package/dist/types/InterfaceType.spec.js +59 -45
- package/dist/types/InterfaceType.spec.js.map +1 -1
- package/dist/types/InvalidType.d.ts +6 -4
- package/dist/types/InvalidType.js +12 -8
- package/dist/types/InvalidType.js.map +1 -1
- package/dist/types/InvalidType.spec.js +7 -3
- package/dist/types/InvalidType.spec.js.map +1 -1
- package/dist/types/LongIntegerType.d.ts +7 -4
- package/dist/types/LongIntegerType.js +16 -20
- package/dist/types/LongIntegerType.js.map +1 -1
- package/dist/types/LongIntegerType.spec.js +9 -3
- package/dist/types/LongIntegerType.spec.js.map +1 -1
- package/dist/types/NamespaceType.d.ts +11 -0
- package/dist/types/NamespaceType.js +25 -0
- package/dist/types/NamespaceType.js.map +1 -0
- package/dist/types/ObjectType.d.ts +8 -4
- package/dist/types/ObjectType.js +26 -7
- package/dist/types/ObjectType.js.map +1 -1
- package/dist/types/ObjectType.spec.js +2 -2
- package/dist/types/ObjectType.spec.js.map +1 -1
- package/dist/types/ReferenceType.d.ts +51 -0
- package/dist/types/ReferenceType.js +274 -0
- package/dist/types/ReferenceType.js.map +1 -0
- package/dist/types/ReferenceType.spec.d.ts +1 -0
- package/dist/types/ReferenceType.spec.js +122 -0
- package/dist/types/ReferenceType.spec.js.map +1 -0
- package/dist/types/StringType.d.ts +10 -4
- package/dist/types/StringType.js +16 -8
- package/dist/types/StringType.js.map +1 -1
- package/dist/types/StringType.spec.js +2 -2
- package/dist/types/StringType.spec.js.map +1 -1
- package/dist/types/UninitializedType.d.ts +6 -3
- package/dist/types/UninitializedType.js +14 -3
- package/dist/types/UninitializedType.js.map +1 -1
- package/dist/types/UnionType.d.ts +18 -0
- package/dist/types/UnionType.js +91 -0
- package/dist/types/UnionType.js.map +1 -0
- package/dist/types/UnionType.spec.d.ts +1 -0
- package/dist/types/UnionType.spec.js +103 -0
- package/dist/types/UnionType.spec.js.map +1 -0
- package/dist/types/VoidType.d.ts +7 -4
- package/dist/types/VoidType.js +13 -8
- package/dist/types/VoidType.js.map +1 -1
- package/dist/types/VoidType.spec.js +2 -2
- package/dist/types/VoidType.spec.js.map +1 -1
- package/dist/types/helper.spec.d.ts +1 -0
- package/dist/types/helper.spec.js +130 -0
- package/dist/types/helper.spec.js.map +1 -0
- package/dist/types/helpers.d.ts +19 -0
- package/dist/types/helpers.js +131 -0
- package/dist/types/helpers.js.map +1 -0
- package/dist/types/index.d.ts +22 -0
- package/dist/types/index.js +39 -0
- package/dist/types/index.js.map +1 -0
- package/dist/util.d.ts +9 -8
- package/dist/util.js +78 -32
- package/dist/util.js.map +1 -1
- package/dist/validators/ClassValidator.d.ts +0 -4
- package/dist/validators/ClassValidator.js +6 -30
- package/dist/validators/ClassValidator.js.map +1 -1
- package/package.json +2 -1
- package/dist/types/CustomType.d.ts +0 -9
- package/dist/types/CustomType.js +0 -32
- package/dist/types/CustomType.js.map +0 -1
|
@@ -1,29 +1,36 @@
|
|
|
1
|
-
import type { Body, AssignmentStatement, Block, ExpressionStatement, CommentStatement, ExitForStatement, ExitWhileStatement, FunctionStatement, IfStatement, IncrementStatement, PrintStatement, GotoStatement, LabelStatement, ReturnStatement, EndStatement, StopStatement, ForStatement, ForEachStatement, WhileStatement, DottedSetStatement, IndexedSetStatement, LibraryStatement, NamespaceStatement, ImportStatement,
|
|
2
|
-
import type { LiteralExpression, BinaryExpression, CallExpression, FunctionExpression,
|
|
1
|
+
import type { Body, AssignmentStatement, Block, ExpressionStatement, CommentStatement, ExitForStatement, ExitWhileStatement, FunctionStatement, IfStatement, IncrementStatement, PrintStatement, GotoStatement, LabelStatement, ReturnStatement, EndStatement, StopStatement, ForStatement, ForEachStatement, WhileStatement, DottedSetStatement, IndexedSetStatement, LibraryStatement, NamespaceStatement, ImportStatement, ClassStatement, InterfaceFieldStatement, InterfaceMethodStatement, InterfaceStatement, EnumStatement, EnumMemberStatement, TryCatchStatement, CatchStatement, ThrowStatement, MethodStatement, FieldStatement, ConstStatement, ContinueStatement } from '../parser/Statement';
|
|
2
|
+
import type { LiteralExpression, BinaryExpression, CallExpression, FunctionExpression, DottedGetExpression, XmlAttributeGetExpression, IndexedGetExpression, GroupingExpression, EscapedCharCodeLiteralExpression, ArrayLiteralExpression, AALiteralExpression, UnaryExpression, VariableExpression, SourceLiteralExpression, NewExpression, CallfuncExpression, TemplateStringQuasiExpression, TemplateStringExpression, TaggedTemplateStringExpression, AnnotationExpression, FunctionParameterExpression, AAMemberExpression, TypeExpression, TypeCastExpression } from '../parser/Expression';
|
|
3
3
|
import type { BrsFile } from '../files/BrsFile';
|
|
4
4
|
import type { XmlFile } from '../files/XmlFile';
|
|
5
5
|
import type { BscFile, File, TypedefProvider } from '../interfaces';
|
|
6
|
-
import { InvalidType } from '../types/InvalidType';
|
|
7
|
-
import { VoidType } from '../types/VoidType';
|
|
8
|
-
import { FunctionType } from '../types/FunctionType';
|
|
9
|
-
import { StringType } from '../types/StringType';
|
|
10
|
-
import { BooleanType } from '../types/BooleanType';
|
|
6
|
+
import type { InvalidType } from '../types/InvalidType';
|
|
7
|
+
import type { VoidType } from '../types/VoidType';
|
|
8
|
+
import type { FunctionType } from '../types/FunctionType';
|
|
9
|
+
import type { StringType } from '../types/StringType';
|
|
10
|
+
import type { BooleanType } from '../types/BooleanType';
|
|
11
11
|
import { IntegerType } from '../types/IntegerType';
|
|
12
12
|
import { LongIntegerType } from '../types/LongIntegerType';
|
|
13
13
|
import { FloatType } from '../types/FloatType';
|
|
14
14
|
import { DoubleType } from '../types/DoubleType';
|
|
15
|
-
import {
|
|
15
|
+
import type { ClassType } from '../types/ClassType';
|
|
16
16
|
import type { Scope } from '../Scope';
|
|
17
17
|
import type { XmlScope } from '../XmlScope';
|
|
18
|
-
import { DynamicType } from '../types/DynamicType';
|
|
18
|
+
import type { DynamicType } from '../types/DynamicType';
|
|
19
19
|
import type { InterfaceType } from '../types/InterfaceType';
|
|
20
20
|
import type { ObjectType } from '../types/ObjectType';
|
|
21
21
|
import type { AstNode, Expression, Statement } from '../parser/AstNode';
|
|
22
|
+
import type { TypePropertyReferenceType, ReferenceType } from '../types/ReferenceType';
|
|
23
|
+
import type { EnumMemberType, EnumType } from '../types/EnumType';
|
|
24
|
+
import type { UnionType } from '../types/UnionType';
|
|
25
|
+
import type { UninitializedType } from '../types/UninitializedType';
|
|
26
|
+
import type { ArrayType } from '../types/ArrayType';
|
|
27
|
+
import type { InheritableType } from '../types/InheritableType';
|
|
28
|
+
import type { NamespaceType } from '../types/NamespaceType';
|
|
22
29
|
export declare function isBrsFile(file: (BscFile | File)): file is BrsFile;
|
|
23
30
|
export declare function isXmlFile(file: (BscFile)): file is XmlFile;
|
|
24
31
|
export declare function isXmlScope(scope: (Scope)): scope is XmlScope;
|
|
25
32
|
/**
|
|
26
|
-
* Determine if the
|
|
33
|
+
* Determine if the variablvalue is a descendent of the Statement base class.
|
|
27
34
|
* Due to performance restrictions, this expects all statements to
|
|
28
35
|
* directly extend Statement or FunctionStatement,
|
|
29
36
|
* so it only checks the immediate parent's class name.
|
|
@@ -55,15 +62,7 @@ export declare function isNamespaceStatement(element: AstNode | undefined): elem
|
|
|
55
62
|
export declare function isClassStatement(element: AstNode | undefined): element is ClassStatement;
|
|
56
63
|
export declare function isImportStatement(element: AstNode | undefined): element is ImportStatement;
|
|
57
64
|
export declare function isMethodStatement(element: AstNode | undefined): element is MethodStatement;
|
|
58
|
-
/**
|
|
59
|
-
* @deprecated use `isMethodStatement`
|
|
60
|
-
*/
|
|
61
|
-
export declare function isClassMethodStatement(element: AstNode | undefined): element is ClassMethodStatement;
|
|
62
65
|
export declare function isFieldStatement(element: AstNode | undefined): element is FieldStatement;
|
|
63
|
-
/**
|
|
64
|
-
* @deprecated use `isFieldStatement`
|
|
65
|
-
*/
|
|
66
|
-
export declare function isClassFieldStatement(element: AstNode | undefined): element is ClassFieldStatement;
|
|
67
66
|
export declare function isInterfaceStatement(element: AstNode | undefined): element is InterfaceStatement;
|
|
68
67
|
export declare function isInterfaceMethodStatement(element: AstNode | undefined): element is InterfaceMethodStatement;
|
|
69
68
|
export declare function isInterfaceFieldStatement(element: AstNode | undefined): element is InterfaceFieldStatement;
|
|
@@ -75,7 +74,7 @@ export declare function isTryCatchStatement(element: AstNode | undefined): eleme
|
|
|
75
74
|
export declare function isCatchStatement(element: AstNode | undefined): element is CatchStatement;
|
|
76
75
|
export declare function isThrowStatement(element: AstNode | undefined): element is ThrowStatement;
|
|
77
76
|
/**
|
|
78
|
-
* Determine if the
|
|
77
|
+
* Determine if the variablvalue is a descendent of the Expression base class.
|
|
79
78
|
* Due to performance restrictions, this expects all statements to directly extend Expression,
|
|
80
79
|
* so it only checks the immediate parent's class name. For example:
|
|
81
80
|
* this will work for StringLiteralExpression -> Expression,
|
|
@@ -85,7 +84,6 @@ export declare function isExpression(element: AstNode | undefined): element is E
|
|
|
85
84
|
export declare function isBinaryExpression(element: AstNode | undefined): element is BinaryExpression;
|
|
86
85
|
export declare function isCallExpression(element: AstNode | undefined): element is CallExpression;
|
|
87
86
|
export declare function isFunctionExpression(element: AstNode | undefined): element is FunctionExpression;
|
|
88
|
-
export declare function isNamespacedVariableNameExpression(element: AstNode | undefined): element is NamespacedVariableNameExpression;
|
|
89
87
|
export declare function isDottedGetExpression(element: AstNode | undefined): element is DottedGetExpression;
|
|
90
88
|
export declare function isXmlAttributeGetExpression(element: AstNode | undefined): element is XmlAttributeGetExpression;
|
|
91
89
|
export declare function isIndexedGetExpression(element: AstNode | undefined): element is IndexedGetExpression;
|
|
@@ -106,29 +104,40 @@ export declare function isTaggedTemplateStringExpression(element: AstNode | unde
|
|
|
106
104
|
export declare function isFunctionParameterExpression(element: AstNode | undefined): element is FunctionParameterExpression;
|
|
107
105
|
export declare function isAnnotationExpression(element: AstNode | undefined): element is AnnotationExpression;
|
|
108
106
|
export declare function isTypedefProvider(element: any): element is TypedefProvider;
|
|
107
|
+
export declare function isTypeExpression(element: any): element is TypeExpression;
|
|
108
|
+
export declare function isTypeCastExpression(element: any): element is TypeCastExpression;
|
|
109
109
|
export declare function isStringType(value: any): value is StringType;
|
|
110
|
-
export declare function isFunctionType(
|
|
111
|
-
export declare function isBooleanType(
|
|
112
|
-
export declare function isIntegerType(
|
|
113
|
-
export declare function isLongIntegerType(
|
|
114
|
-
export declare function isFloatType(
|
|
115
|
-
export declare function isDoubleType(
|
|
116
|
-
export declare function isInvalidType(
|
|
117
|
-
export declare function isVoidType(
|
|
118
|
-
export declare function
|
|
119
|
-
export declare function isDynamicType(
|
|
120
|
-
export declare function isInterfaceType(
|
|
121
|
-
export declare function isObjectType(
|
|
122
|
-
export declare function
|
|
123
|
-
export declare function
|
|
110
|
+
export declare function isFunctionType(value: any): value is FunctionType;
|
|
111
|
+
export declare function isBooleanType(value: any): value is BooleanType;
|
|
112
|
+
export declare function isIntegerType(value: any): value is IntegerType;
|
|
113
|
+
export declare function isLongIntegerType(value: any): value is LongIntegerType;
|
|
114
|
+
export declare function isFloatType(value: any): value is FloatType;
|
|
115
|
+
export declare function isDoubleType(value: any): value is DoubleType;
|
|
116
|
+
export declare function isInvalidType(value: any): value is InvalidType;
|
|
117
|
+
export declare function isVoidType(value: any): value is VoidType;
|
|
118
|
+
export declare function isClassType(value: any): value is ClassType;
|
|
119
|
+
export declare function isDynamicType(value: any): value is DynamicType;
|
|
120
|
+
export declare function isInterfaceType(value: any): value is InterfaceType;
|
|
121
|
+
export declare function isObjectType(value: any): value is ObjectType;
|
|
122
|
+
export declare function isReferenceType(value: any): value is ReferenceType;
|
|
123
|
+
export declare function isEnumType(value: any): value is EnumType;
|
|
124
|
+
export declare function isEnumMemberType(value: any): value is EnumMemberType;
|
|
125
|
+
export declare function isTypePropertyReferenceType(value: any): value is TypePropertyReferenceType;
|
|
126
|
+
export declare function isNamespaceType(value: any): value is NamespaceType;
|
|
127
|
+
export declare function isUnionType(value: any): value is UnionType;
|
|
128
|
+
export declare function isUninitializedType(value: any): value is UninitializedType;
|
|
129
|
+
export declare function isArrayType(value: any): value is ArrayType;
|
|
130
|
+
export declare function isInheritableType(target: any): target is InheritableType;
|
|
131
|
+
export declare function isNumberType(value: any): value is IntegerType | LongIntegerType | FloatType | DoubleType;
|
|
132
|
+
export declare function isLiteralInvalid(value: any): value is LiteralExpression & {
|
|
124
133
|
type: InvalidType;
|
|
125
134
|
};
|
|
126
|
-
export declare function isLiteralBoolean(
|
|
135
|
+
export declare function isLiteralBoolean(value: any): value is LiteralExpression & {
|
|
127
136
|
type: BooleanType;
|
|
128
137
|
};
|
|
129
|
-
export declare function isLiteralString(
|
|
138
|
+
export declare function isLiteralString(value: any): value is LiteralExpression & {
|
|
130
139
|
type: StringType;
|
|
131
140
|
};
|
|
132
|
-
export declare function isLiteralNumber(
|
|
141
|
+
export declare function isLiteralNumber(value: any): value is LiteralExpression & {
|
|
133
142
|
type: IntegerType | LongIntegerType | FloatType | DoubleType;
|
|
134
143
|
};
|