import { AdditiveExpressionContext, ArrayPrimaryExpressionContext, AssignmentExpressionContext, BitwiseAndExpressionContext, BitwiseOrExpressionContext, BitwiseShiftExpressionContext, BitwiseXorExpressionContext, BoolPrimaryExpressionContext, BracketNotationMemberAccessExpressionContext, CastOrConvertExpressionContext, ClassConstructorDeclarationContext, ClassDeclarationContext, ClassMethodDeclarationContext, ClassPropertyDeclarationContext, CompoundStatementContext, ConditionalExpressionContext, DotNotationMemberAccessExpressionContext, DoWhileLoopIterationStatementContext, EqualityExpressionContext, ExpressionStatementContext, ForLoopIterationStatementContext, FStringPrimaryExpressionContext, FunctionCallExpressionContext, FunctionDeclarationContext, GenericTypeSpecifierExpressionContext, IdentifierPrimaryExpressionContext, IdentifierTypeSpecifierExpressionContext, IfStatementContext, IncrementOrDecrementPostfixExpressionContext, IncrementOrDecrementUnaryExpressionContext, InstanceOfExpressionContext, InterfaceDeclarationContext, InterfaceMethodDeclarationContext, InterfacePropertyDeclarationContext, JumpStatementContext, LambdaPrimaryExpressionContext, LogicalAndExpressionContext, LogicalOrExpressionContext, MultiplicativeExpressionContext, NewInstantiationExpressionContext, NumberPrimaryExpressionContext, ObjectPrimaryExpressionContext, ObjectPropertyContext, OperatorModifiedUnaryExpressionContext, ParameterDeclarationContext, RelationalExpressionContext, ReturnStatementContext, SliceNotationMemberAccessExpressionContext, StringPrimaryExpressionContext, SwitchStatementContext, TangledPrimaryExpressionContext, TypeofExpressionContext, TypeofTypeSpecifierExpressionContext, VariableDeclarationContext, VoidOrNullOrUndefinedPrimaryExpressionContext, WhileLoopIterationStatementContext } from "../../lexer-parser"; import type { ASTDeclarationKind, ASTDeclarationRuleName, ASTExpressionKind, ASTExpressionRuleName, ASTStatementKind, ASTStatementRuleName } from "../common"; import { AdditiveExpression, ArrayPrimaryExpression, AssignmentExpression, BitwiseAndExpression, BitwiseOrExpression, BitwiseShiftExpression, BitwiseXorExpression, BoolPrimaryExpression, CastOrConvertExpression, ClassConstructorDeclaration, ClassDeclaration, ClassMethodDeclaration, ClassPropertyDeclaration, CompoundStatement, ConditionalExpression, DoWhileLoopIterationStatement, EqualityExpression, ExpressionStatement, ForLoopIterationStatement, FStringPrimaryExpression, FunctionCallExpression, FunctionDeclaration, GenericTypeSpecifierExpression, IdentifierPrimaryExpression, IdentifierTypeSpecifierExpression, IfStatement, IncrementOrDecrementPostfixExpression, IncrementOrDecrementUnaryExpression, InterfaceDeclaration, InterfaceMethodDeclaration, InterfacePropertyDeclaration, JumpStatement, LambdaPrimaryExpression, LogicalAndExpression, LogicalOrExpression, MemberAccessExpression, MultiplicativeExpression, NewInstantiationExpression, NumberPrimaryExpression, ObjectPrimaryExpression, ObjectProperty, OperatorModifiedUnaryExpression, ParameterDeclaration, RelationalExpression, ReturnStatement, StringPrimaryExpression, SwitchStatement, TangledPrimaryExpression, TypeofExpression, TypeofTypeSpecifierExpression, VariableDeclaration, VoidOrNullOrUndefinedPrimaryExpression, WhileLoopIterationStatement, MatchesExpression, InstanceOfExpression } from "../nodes"; export declare class ASTNodeMapper { static readonly declarationKindToClassMap: { 12: typeof FunctionDeclaration; 6: typeof VariableDeclaration; 14: typeof ParameterDeclaration; 15: typeof InterfaceDeclaration; 17: typeof InterfacePropertyDeclaration; 18: typeof InterfaceMethodDeclaration; 19: typeof ClassDeclaration; 21: typeof ClassPropertyDeclaration; 22: typeof ClassMethodDeclaration; 23: typeof ClassConstructorDeclaration; }; static readonly expressionKindToClassMap: { 48: typeof NumberPrimaryExpression; 49: typeof ArrayPrimaryExpression; 50: typeof ObjectPrimaryExpression; 51: typeof ObjectProperty; 41: typeof IdentifierPrimaryExpression; 52: typeof VoidOrNullOrUndefinedPrimaryExpression; 40: typeof BoolPrimaryExpression; 44: typeof StringPrimaryExpression; 45: typeof FStringPrimaryExpression; 39: typeof TangledPrimaryExpression; 59: typeof IncrementOrDecrementPostfixExpression; 1002: typeof FunctionCallExpression; 62: typeof IncrementOrDecrementUnaryExpression; 63: typeof OperatorModifiedUnaryExpression; 66: typeof CastOrConvertExpression; 67: typeof MultiplicativeExpression; 68: typeof AdditiveExpression; 73: typeof RelationalExpression; 74: typeof EqualityExpression; 78: typeof LogicalAndExpression; 79: typeof LogicalOrExpression; 80: typeof ConditionalExpression; 81: typeof AssignmentExpression; 85: typeof IdentifierTypeSpecifierExpression; 86: typeof GenericTypeSpecifierExpression; 87: typeof TypeofTypeSpecifierExpression; 1001: typeof MemberAccessExpression; 1003: typeof NewInstantiationExpression; 77: typeof BitwiseOrExpression; 75: typeof BitwiseAndExpression; 76: typeof BitwiseXorExpression; 69: typeof BitwiseShiftExpression; 38: typeof LambdaPrimaryExpression; 60: typeof TypeofExpression; 71: typeof InstanceOfExpression; 72: typeof MatchesExpression; }; static readonly statementKindToClassMap: { 25: typeof CompoundStatement; 28: typeof IfStatement; 29: typeof SwitchStatement; 26: typeof ExpressionStatement; 34: typeof DoWhileLoopIterationStatement; 33: typeof WhileLoopIterationStatement; 32: typeof ForLoopIterationStatement; 36: typeof ReturnStatement; 35: typeof JumpStatement; }; static readonly declarationKindToRuleContextMap: { 12: typeof FunctionDeclarationContext; 6: typeof VariableDeclarationContext; 14: typeof ParameterDeclarationContext; 15: typeof InterfaceDeclarationContext; 17: typeof InterfacePropertyDeclarationContext; 18: typeof InterfaceMethodDeclarationContext; 19: typeof ClassDeclarationContext; 21: typeof ClassPropertyDeclarationContext; 22: typeof ClassMethodDeclarationContext; 23: typeof ClassConstructorDeclarationContext; }; static readonly expressionKindToRuleContextMap: { 48: typeof NumberPrimaryExpressionContext; 49: typeof ArrayPrimaryExpressionContext; 51: typeof ObjectPropertyContext; 50: typeof ObjectPrimaryExpressionContext; 41: typeof IdentifierPrimaryExpressionContext; 52: typeof VoidOrNullOrUndefinedPrimaryExpressionContext; 40: typeof BoolPrimaryExpressionContext; 44: typeof StringPrimaryExpressionContext; 45: typeof FStringPrimaryExpressionContext; 39: typeof TangledPrimaryExpressionContext; 59: typeof IncrementOrDecrementPostfixExpressionContext; 1002: typeof FunctionCallExpressionContext; 62: typeof IncrementOrDecrementUnaryExpressionContext; 63: typeof OperatorModifiedUnaryExpressionContext; 66: typeof CastOrConvertExpressionContext; 67: typeof MultiplicativeExpressionContext; 68: typeof AdditiveExpressionContext; 73: typeof RelationalExpressionContext; 74: typeof EqualityExpressionContext; 78: typeof LogicalAndExpressionContext; 79: typeof LogicalOrExpressionContext; 80: typeof ConditionalExpressionContext; 81: typeof AssignmentExpressionContext; 85: typeof IdentifierTypeSpecifierExpressionContext; 86: typeof GenericTypeSpecifierExpressionContext; 87: typeof TypeofTypeSpecifierExpressionContext; 77: typeof BitwiseOrExpressionContext; 75: typeof BitwiseAndExpressionContext; 76: typeof BitwiseXorExpressionContext; 69: typeof BitwiseShiftExpressionContext; 38: typeof LambdaPrimaryExpressionContext; 60: typeof TypeofExpressionContext; 1003: typeof NewInstantiationExpressionContext; 71: typeof InstanceOfExpressionContext; 72: typeof MatchesExpression; 1001: (typeof DotNotationMemberAccessExpressionContext | typeof BracketNotationMemberAccessExpressionContext | typeof SliceNotationMemberAccessExpressionContext)[]; }; static readonly statementKindToRuleContextMap: { 25: typeof CompoundStatementContext; 28: typeof IfStatementContext; 29: typeof SwitchStatementContext; 26: typeof ExpressionStatementContext; 34: typeof DoWhileLoopIterationStatementContext; 33: typeof WhileLoopIterationStatementContext; 32: typeof ForLoopIterationStatementContext; 36: typeof ReturnStatementContext; 35: typeof JumpStatementContext; }; static readonly declarationRuleNameToClassMap: { RULE_functionDeclaration: typeof FunctionDeclaration; RULE_variableDeclaration: typeof VariableDeclaration; RULE_parameterDeclaration: typeof ParameterDeclaration; RULE_interfaceDeclaration: typeof InterfaceDeclaration; RULE_interfacePropertyDeclaration: typeof InterfacePropertyDeclaration; RULE_interfaceMethodDeclaration: typeof InterfaceMethodDeclaration; RULE_classDeclaration: typeof ClassDeclaration; RULE_classPropertyDeclaration: typeof ClassPropertyDeclaration; RULE_classMethodDeclaration: typeof ClassMethodDeclaration; RULE_classConstructorDeclaration: typeof ClassConstructorDeclaration; }; static readonly expressionRuleNameToClassMap: { RULE_numberPrimaryExpression: typeof NumberPrimaryExpression; RULE_arrayPrimaryExpression: typeof ArrayPrimaryExpression; RULE_objectProperty: typeof ObjectProperty; RULE_objectPrimaryExpression: typeof ObjectPrimaryExpression; RULE_identifierPrimaryExpression: typeof IdentifierPrimaryExpression; RULE_voidOrNullOrUndefinedPrimaryExpression: typeof VoidOrNullOrUndefinedPrimaryExpression; RULE_boolPrimaryExpression: typeof BoolPrimaryExpression; RULE_stringPrimaryExpression: typeof StringPrimaryExpression; RULE_fStringPrimaryExpression: typeof FStringPrimaryExpression; RULE_tangledPrimaryExpression: typeof TangledPrimaryExpression; RULE_incrementOrDecrementPostfixExpression: typeof IncrementOrDecrementPostfixExpression; RULE_functionCallExpression: typeof FunctionCallExpression; RULE_incrementOrDecrementUnaryExpression: typeof IncrementOrDecrementUnaryExpression; RULE_operatorModifiedUnaryExpression: typeof OperatorModifiedUnaryExpression; RULE_castOrConvertExpression: typeof CastOrConvertExpression; RULE_multiplicativeExpression: typeof MultiplicativeExpression; RULE_additiveExpression: typeof AdditiveExpression; RULE_relationalExpression: typeof RelationalExpression; RULE_equalityExpression: typeof EqualityExpression; RULE_logicalAndExpression: typeof LogicalAndExpression; RULE_logicalOrExpression: typeof LogicalOrExpression; RULE_conditionalExpression: typeof ConditionalExpression; RULE_assignmentExpression: typeof AssignmentExpression; RULE_identifierTypeSpecifierExpression: typeof IdentifierTypeSpecifierExpression; RULE_genericTypeSpecifierExpression: typeof GenericTypeSpecifierExpression; RULE_typeofTypeSpecifierExpression: typeof TypeofTypeSpecifierExpression; RULE_memberAccessExpression: typeof MemberAccessExpression; RULE_bitwiseOrExpression: typeof BitwiseOrExpression; RULE_bitwiseAndExpression: typeof BitwiseAndExpression; RULE_bitwiseXorExpression: typeof BitwiseXorExpression; RULE_bitwiseShiftExpression: typeof BitwiseShiftExpression; RULE_lambdaPrimaryExpression: typeof LambdaPrimaryExpression; RULE_typeofExpression: typeof TypeofExpression; RULE_newInstantiationExpression: typeof NewInstantiationExpression; RULE_matchesExpression: typeof MatchesExpression; RULE_instanceofExpression: typeof InstanceOfExpression; }; static readonly statementRuleNameToClassMap: { RULE_compoundStatement: typeof CompoundStatement; RULE_ifStatement: typeof IfStatement; RULE_switchStatement: typeof SwitchStatement; RULE_expressionStatement: typeof ExpressionStatement; RULE_doWhileLoopIterationStatement: typeof DoWhileLoopIterationStatement; RULE_whileLoopIterationStatement: typeof WhileLoopIterationStatement; RULE_forLoopIterationStatement: typeof ForLoopIterationStatement; RULE_returnStatement: typeof ReturnStatement; RULE_jumpStatement: typeof JumpStatement; }; static mapDeclarationKindToClass(kind: T): (typeof ASTNodeMapper.declarationKindToClassMap)[T]; static mapExpressionKindToClass(kind: T): (typeof ASTNodeMapper.expressionKindToClassMap)[T]; static mapStatementKindToClass(kind: T): (typeof ASTNodeMapper.statementKindToClassMap)[T]; static mapDeclarationKindToRuleContext(kind: T): (typeof ASTNodeMapper.declarationKindToRuleContextMap)[T]; static mapExpressionKindToRuleContext(kind: T): (typeof ASTNodeMapper.expressionKindToRuleContextMap)[T]; static mapStatementKindToRuleContext(kind: T): (typeof ASTNodeMapper.statementKindToRuleContextMap)[T]; static mapDeclarationRuleNameToClass(name: T): (typeof ASTNodeMapper.declarationRuleNameToClassMap)[T]; static mapExpressionRuleNameToClass(name: T): (typeof ASTNodeMapper.expressionRuleNameToClassMap)[T]; static mapStatementRuleNameToClass(name: T): (typeof ASTNodeMapper.statementRuleNameToClassMap)[T]; }