Class: JavaScriptTargetSemanticAnalyser
The TypeScript target-specific semantic analyser.
Since
0.10.0
Hierarchy
unknown
↳
JavaScriptTargetSemanticAnalyser
Table of contents
Constructors
Properties
- additiveExpression
- arrayPrimaryExpression
- assignmentExpression
- bitwiseAndExpression
- bitwiseOrExpression
- bitwiseShiftExpression
- bitwiseXorExpression
- boolPrimaryExpression
- castOrConvertExpression
- classConstructorDeclaration
- classMethodDeclaration
- compoundStatement
- conditionalExpression
- doWhileLoopIterationStatement
- equalityExpression
- expressionStatement
- fStringPrimaryExpression
- forLoopIterationStatement
- functionCallExpression
- genericTypeSpecifierExpression
- identifierPrimaryExpression
- identifierTypeSpecifierExpression
- ifStatement
- incrementOrDecrementPostfixExpression
- incrementOrDecrementUnaryExpression
- instanceOfExpression
- jumpStatement
- lambdaPrimaryExpression
- logicalAndExpression
- logicalOrExpression
- matchesExpression
- memberAccessExpression
- multiplicativeExpression
- newInstantiationExpression
- numberPrimaryExpression
- objectPrimaryExpression
- objectProperty
- operatorModifiedUnaryExpression
- relationalExpression
- returnStatement
- stringPrimaryExpression
- switchStatement
- tangledPrimaryExpression
- typeofExpression
- typeofTypeSpecifierExpression
- voidOrNullOrUndefinedPrimaryExpression
- whileLoopIterationStatement
Methods
- checkViabilityOfIdentifier
- classDeclaration
- functionDeclaration
- interfaceDeclaration
- interfaceMethodDeclaration
- interfacePropertyDeclaration
- parameterDeclaration
- variableDeclaration
Constructors
constructor
• new JavaScriptTargetSemanticAnalyser()
Inherited from
KipperTargetSemanticAnalyser.constructor
Properties
additiveExpression
• additiveExpression: undefined
= undefined
Performs typescript-specific semantic analysis for AdditiveExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:264
arrayPrimaryExpression
• arrayPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for ArrayPrimaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:166
assignmentExpression
• assignmentExpression: undefined
= undefined
Performs typescript-specific semantic analysis for AssignmentExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:314
bitwiseAndExpression
• bitwiseAndExpression: undefined
= undefined
Performs typescript-specific semantic analysis for BitwiseAndExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:279
bitwiseOrExpression
• bitwiseOrExpression: undefined
= undefined
Performs typescript-specific semantic analysis for BitwiseOrExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:284
bitwiseShiftExpression
• bitwiseShiftExpression: undefined
= undefined
Performs typescript-specific semantic analysis for BitwiseShiftExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:294
bitwiseXorExpression
• bitwiseXorExpression: undefined
= undefined
Performs typescript-specific semantic analysis for BitwiseXorExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:289
boolPrimaryExpression
• boolPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for BoolPrimaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:219
castOrConvertExpression
• castOrConvertExpression: undefined
= undefined
Performs typescript-specific semantic analysis for CastOrConvertExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:254
classConstructorDeclaration
• classConstructorDeclaration: undefined
= undefined
Performs typescript-specific semantic analysis for classConstructorDeclaration instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:151
classMethodDeclaration
• Optional
classMethodDeclaration: any
Performs typescript-specific semantic analysis for ClassMethodDeclaration instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:156
compoundStatement
• compoundStatement: undefined
= undefined
Performs typescript-specific semantic analysis for CompoundStatement instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:47
conditionalExpression
• conditionalExpression: undefined
= undefined
Performs typescript-specific semantic analysis for ConditionalExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:309
doWhileLoopIterationStatement
• doWhileLoopIterationStatement: undefined
= undefined
Performs typescript-specific semantic analysis for DoWhileLoopIterationStatement instances.
Since
0.10.0
Defined in
kipper/target-js/src/semantic-analyser.ts:68
equalityExpression
• equalityExpression: undefined
= undefined
Performs typescript-specific semantic analysis for EqualityExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:274
expressionStatement
• expressionStatement: undefined
= undefined
Performs typescript-specific semantic analysis for ExpressionStatement instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:62
fStringPrimaryExpression
• fStringPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for FStringPrimaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:214
forLoopIterationStatement
• forLoopIterationStatement: undefined
= undefined
Performs typescript-specific semantic analysis for ForLoopIterationStatement instances.
Since
0.10.0
Defined in
kipper/target-js/src/semantic-analyser.ts:80
functionCallExpression
• functionCallExpression: undefined
= undefined
Performs typescript-specific semantic analysis for FunctionCallExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:239
genericTypeSpecifierExpression
• genericTypeSpecifierExpression: undefined
= undefined
Performs typescript-specific semantic analysis for GenericTypeSpecifierExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:199
identifierPrimaryExpression
• identifierPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for IdentifierPrimaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:183
identifierTypeSpecifierExpression
• identifierTypeSpecifierExpression: undefined
= undefined
Performs typescript-specific semantic analysis for IdentifierTypeSpecifierExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:194
ifStatement
• ifStatement: undefined
= undefined
Performs typescript-specific semantic analysis for IfStatement instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:52
incrementOrDecrementPostfixExpression
• incrementOrDecrementPostfixExpression: undefined
= undefined
Performs typescript-specific semantic analysis for IncrementOrDecrementPostfixExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:234
incrementOrDecrementUnaryExpression
• incrementOrDecrementUnaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for IncrementOrDecrementUnaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:244
instanceOfExpression
• instanceOfExpression: undefined
= undefined
Performs typescript-specific semantic analysis for InstanceOfExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:334
jumpStatement
• jumpStatement: undefined
= undefined
Performs typescript-specific semantic analysis for JumpStatement instances.
Since
0.10.0
Defined in
kipper/target-js/src/semantic-analyser.ts:86
lambdaPrimaryExpression
• lambdaPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for LambdaExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:319
logicalAndExpression
• logicalAndExpression: undefined
= undefined
Performs typescript-specific semantic analysis for LogicalAndExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:299
logicalOrExpression
• logicalOrExpression: undefined
= undefined
Performs typescript-specific semantic analysis for LogicalOrExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:304
matchesExpression
• matchesExpression: undefined
= undefined
Performs typescript-specific semantic analysis for MatchesExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:329
memberAccessExpression
• memberAccessExpression: undefined
= undefined
Performs typescript-specific semantic analysis for MemberAccessExpression instances.
Since
0.10.0
Defined in
kipper/target-js/src/semantic-analyser.ts:189
multiplicativeExpression
• multiplicativeExpression: undefined
= undefined
Performs typescript-specific semantic analysis for MultiplicativeExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:259
newInstantiationExpression
• newInstantiationExpression: undefined
= undefined
Performs typescript-specific semantic analysis for NewInstantiationExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:146
numberPrimaryExpression
• numberPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for NumberPrimaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:161
objectPrimaryExpression
• objectPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for ObjectPrimaryExpression instances.
Since
0.11.0
Defined in
kipper/target-js/src/semantic-analyser.ts:172
objectProperty
• objectProperty: undefined
= undefined
Performs typescript-specific semantic analysis for ObjectPropertyPrimaryExpression instances.
Since
0.11.0
Defined in
kipper/target-js/src/semantic-analyser.ts:178
operatorModifiedUnaryExpression
• operatorModifiedUnaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for OperatorModifiedUnaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:249
relationalExpression
• relationalExpression: undefined
= undefined
Performs typescript-specific semantic analysis for RelationalExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:269
returnStatement
• returnStatement: undefined
= undefined
Performs typescript-specific semantic analysis for ReturnStatement instances.
Since
0.10.0
Defined in
kipper/target-js/src/semantic-analyser.ts:92
stringPrimaryExpression
• stringPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for StringPrimaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:209
switchStatement
• switchStatement: undefined
= undefined
Performs typescript-specific semantic analysis for SwitchStatement instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:57
tangledPrimaryExpression
• tangledPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for TangledPrimaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:224
typeofExpression
• typeofExpression: undefined
= undefined
Performs typescript-specific semantic analysis for TypeofExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:324
typeofTypeSpecifierExpression
• typeofTypeSpecifierExpression: undefined
= undefined
Performs typescript-specific semantic analysis for TypeofTypeSpecifierExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:204
voidOrNullOrUndefinedPrimaryExpression
• voidOrNullOrUndefinedPrimaryExpression: undefined
= undefined
Performs typescript-specific semantic analysis for VoidOrNullOrUndefinedPrimaryExpression instances.
Defined in
kipper/target-js/src/semantic-analyser.ts:229
whileLoopIterationStatement
• whileLoopIterationStatement: undefined
= undefined
Performs typescript-specific semantic analysis for WhileLoopIterationStatement instances.
Since
0.10.0
Defined in
kipper/target-js/src/semantic-analyser.ts:74
Methods
checkViabilityOfIdentifier
▸ Private
checkViabilityOfIdentifier(declaration
): void
Checks whether the identifier of the declaration is viable for the TypeScript target and does not overwrite any built-in or reserved identifiers.
Parameters
Name | Type | Description |
---|---|---|
declaration |
Declaration |
The variable, function or parameter declaration. |
Returns
void
Defined in
kipper/target-js/src/semantic-analyser.ts:31
classDeclaration
▸ classDeclaration(node
): Promise
<void
>
Performs typescript-specific semantic analysis for VariableDeclaration instances.
Parameters
Name | Type |
---|---|
node |
ClassDeclaration |
Returns
Promise
<void
>
Defined in
kipper/target-js/src/semantic-analyser.ts:139
functionDeclaration
▸ functionDeclaration(node
): Promise
<void
>
Performs typescript-specific semantic analysis for FunctionDeclaration instances.
Parameters
Name | Type |
---|---|
node |
FunctionDeclaration |
Returns
Promise
<void
>
Defined in
kipper/target-js/src/semantic-analyser.ts:104
interfaceDeclaration
▸ interfaceDeclaration(node
): Promise
<void
>
Performs typescript-specific semantic analysis for VariableDeclaration instances.
Parameters
Name | Type |
---|---|
node |
InterfaceDeclaration |
Returns
Promise
<void
>
Defined in
kipper/target-js/src/semantic-analyser.ts:118
interfaceMethodDeclaration
▸ interfaceMethodDeclaration(node
): Promise
<void
>
Performs typescript-specific semantic analysis for InterfaceMethodDeclaration instances.
Parameters
Name | Type |
---|---|
node |
InterfaceMethodDeclaration |
Returns
Promise
<void
>
Defined in
kipper/target-js/src/semantic-analyser.ts:132
interfacePropertyDeclaration
▸ interfacePropertyDeclaration(node
): Promise
<void
>
Performs typescript-specific semantic analysis for InterfacePropertyDeclaration instances.
Parameters
Name | Type |
---|---|
node |
InterfacePropertyDeclaration |
Returns
Promise
<void
>
Defined in
kipper/target-js/src/semantic-analyser.ts:125
parameterDeclaration
▸ parameterDeclaration(node
): Promise
<void
>
Performs typescript-specific semantic analysis for ParameterDeclaration instances.
Parameters
Name | Type |
---|---|
node |
ParameterDeclaration |
Returns
Promise
<void
>
Defined in
kipper/target-js/src/semantic-analyser.ts:97
variableDeclaration
▸ variableDeclaration(node
): Promise
<void
>
Performs typescript-specific semantic analysis for VariableDeclaration instances.
Parameters
Name | Type |
---|---|
node |
VariableDeclaration |
Returns
Promise
<void
>
Defined in
kipper/target-js/src/semantic-analyser.ts:111