@kipper/target-js
Version:
The JavaScript target for the Kipper compiler 🦊
60 lines (59 loc) • 2.94 kB
TypeScript
import type { ClassDeclaration, ClassMethodDeclaration, Declaration, FunctionDeclaration, InterfaceDeclaration, InterfaceMethodDeclaration, InterfacePropertyDeclaration, ParameterDeclaration, TargetASTNodeSemanticAnalyser, VariableDeclaration } from "@kipper/core";
import { KipperTargetSemanticAnalyser } from "@kipper/core";
export declare class JavaScriptTargetSemanticAnalyser extends KipperTargetSemanticAnalyser {
protected checkViabilityOfIdentifier(declaration: Declaration): void;
compoundStatement: undefined;
ifStatement: undefined;
switchStatement: undefined;
expressionStatement: undefined;
doWhileLoopIterationStatement: undefined;
whileLoopIterationStatement: undefined;
forLoopIterationStatement: undefined;
jumpStatement: undefined;
returnStatement: undefined;
parameterDeclaration: (node: ParameterDeclaration) => Promise<void>;
functionDeclaration: (node: FunctionDeclaration) => Promise<void>;
variableDeclaration: (node: VariableDeclaration) => Promise<void>;
interfaceDeclaration: (node: InterfaceDeclaration) => Promise<void>;
interfacePropertyDeclaration: (node: InterfacePropertyDeclaration) => Promise<void>;
interfaceMethodDeclaration: (node: InterfaceMethodDeclaration) => Promise<void>;
classDeclaration: (node: ClassDeclaration) => Promise<void>;
newInstantiationExpression: undefined;
classConstructorDeclaration: undefined;
classMethodDeclaration?: TargetASTNodeSemanticAnalyser<ClassMethodDeclaration> | undefined;
numberPrimaryExpression: undefined;
arrayPrimaryExpression: undefined;
objectPrimaryExpression: undefined;
objectProperty: undefined;
identifierPrimaryExpression: undefined;
memberAccessExpression: undefined;
identifierTypeSpecifierExpression: undefined;
genericTypeSpecifierExpression: undefined;
typeofTypeSpecifierExpression: undefined;
stringPrimaryExpression: undefined;
fStringPrimaryExpression: undefined;
boolPrimaryExpression: undefined;
tangledPrimaryExpression: undefined;
voidOrNullOrUndefinedPrimaryExpression: undefined;
incrementOrDecrementPostfixExpression: undefined;
functionCallExpression: undefined;
incrementOrDecrementUnaryExpression: undefined;
operatorModifiedUnaryExpression: undefined;
castOrConvertExpression: undefined;
multiplicativeExpression: undefined;
additiveExpression: undefined;
relationalExpression: undefined;
equalityExpression: undefined;
bitwiseAndExpression: undefined;
bitwiseOrExpression: undefined;
bitwiseXorExpression: undefined;
bitwiseShiftExpression: undefined;
logicalAndExpression: undefined;
logicalOrExpression: undefined;
conditionalExpression: undefined;
assignmentExpression: undefined;
lambdaPrimaryExpression: undefined;
typeofExpression: undefined;
matchesExpression: undefined;
instanceOfExpression: undefined;
}