• Kipper

    v0.12.1
  • Downloads

  • Docs

  • Playground

  • Changelog

  • Kipper

    v0.12.1
    • Downloads

    • Docs

    • Playground

    • Changelog

      • next /
      • Kipper API /
      • Module /
      • @kipper/core /
      • compiler
    Kipper Docs
    • next
    • latest
    • 0.11.0
    • 0.10.4
    • 0.9.2
    • Overview

    • Quickstart

    • Goals for Kipper

    • Supported platforms

    • Usage Examples

      • Overview

    • Variables

      • Overview

      • String Type

      • Number Type

      • Boolean Type

      • Void Type

      • Null Type

      • Undefined Type

      • Array Type

      • Overview

      • Tangled Expression

      • Arithmetic Expression

      • Assignment Expression

      • Conditional Expressions

      • Logical Expressions

      • Bitwise Expression

      • Relational Expressions

      • Convert Or Cast Expression

      • F-String Expression

      • Member Access Expression

      • Function Call Expression

      • Lambda Expression

      • Matches Expression

      • Overview

      • Expression Statement

      • If Statement

      • While Loop

      • Do-While Loop

      • For Loop

      • Compound Statement

      • Jump Statement

    • Functions

    • Interfaces

    • Classes

    • Comments

    • Built-in Functions

      • Overview

      • Compiler Setup

        • Overview

          • index

          • compiler

          • errors

          • logger

          • utils

          • config

          • index

          • index

        • Overview

        • new

        • run

        • compile

        • help

        • version

      • next /
      • Kipper API /
      • Module /
      • @kipper/core /
      • compiler
    • next /
    • Kipper API /
    • Module /
    • @kipper/core /
    • compiler

    Edit page

    Class: KipperFileASTGenerator

    compiler.KipperFileASTGenerator

    The AST generator, which acts as a listener for a KipperProgramContext, which walks through a parse tree generated by the KipperParser and generates an abstract syntax tree based on the parse tree.

    Since

    0.10.0

    Implements

    • KipperParserListener
    • ParseTreeListener

    Table of contents

    Constructors

    • constructor

    Properties

    • _currentPrimaryNode
    • _declarationFactory
    • _expressionFactory
    • _rootNode
    • _statementFactory
    • enterActualAdditiveExpression
    • enterActualAssignmentExpression
    • enterActualBitwiseAndExpression
    • enterActualBitwiseOrExpression
    • enterActualBitwiseShiftExpression
    • enterActualBitwiseXorExpression
    • enterActualConditionalExpression
    • enterActualEqualityExpression
    • enterActualInstanceOfExpression
    • enterActualLogicalAndExpression
    • enterActualLogicalOrExpression
    • enterActualMatchesExpression
    • enterActualMultiplicativeExpression
    • enterActualRelationalExpression
    • enterArrayPrimaryExpression
    • enterBoolPrimaryExpression
    • enterBracketNotationMemberAccessExpression
    • enterCastExpression
    • enterClassConstructorDeclaration
    • enterClassDeclaration
    • enterClassMethodDeclaration
    • enterClassPropertyDeclaration
    • enterCompoundStatement
    • enterConvertExpression
    • enterDoWhileLoopIterationStatement
    • enterDotNotationMemberAccessExpression
    • enterExplicitCallFunctionCallExpression
    • enterExpressionStatement
    • enterExternalItem
    • enterFStringPrimaryExpression
    • enterForLoopIterationStatement
    • enterForceCastExpression
    • enterFunctionCallExpression
    • enterFunctionDeclaration
    • enterGenericTypeSpecifierExpression
    • enterIdentifierPrimaryExpression
    • enterIdentifierTypeSpecifierExpression
    • enterIfStatement
    • enterIncrementOrDecrementPostfixExpression
    • enterIncrementOrDecrementUnaryExpression
    • enterInterfaceDeclaration
    • enterInterfaceMethodDeclaration
    • enterInterfacePropertyDeclaration
    • enterJumpStatement
    • enterLambdaPrimaryExpression
    • enterNewInstantiationExpression
    • enterNullableTypeSpecifierExpression
    • enterNumberPrimaryExpression
    • enterObjectPrimaryExpression
    • enterObjectProperty
    • enterOperatorModifiedUnaryExpression
    • enterParameterDeclaration
    • enterReturnStatement
    • enterSliceNotationMemberAccessExpression
    • enterStringPrimaryExpression
    • enterSwitchStatement
    • enterTangledPrimaryExpression
    • enterTryCastExpression
    • enterTypeofExpression
    • enterTypeofTypeSpecifierExpression
    • enterVariableDeclaration
    • enterVoidOrNullOrUndefinedPrimaryExpression
    • enterWhileLoopIterationStatement
    • exitActualAdditiveExpression
    • exitActualAssignmentExpression
    • exitActualBitwiseAndExpression
    • exitActualBitwiseOrExpression
    • exitActualBitwiseShiftExpression
    • exitActualBitwiseXorExpression
    • exitActualConditionalExpression
    • exitActualEqualityExpression
    • exitActualInstanceOfExpression
    • exitActualLogicalAndExpression
    • exitActualLogicalOrExpression
    • exitActualMatchesExpression
    • exitActualMultiplicativeExpression
    • exitActualRelationalExpression
    • exitArrayPrimaryExpression
    • exitBoolPrimaryExpression
    • exitBracketNotationMemberAccessExpression
    • exitCastExpression
    • exitClassConstructorDeclaration
    • exitClassDeclaration
    • exitClassMethodDeclaration
    • exitClassPropertyDeclaration
    • exitCompoundStatement
    • exitConvertExpression
    • exitDoWhileLoopIterationStatement
    • exitDotNotationMemberAccessExpression
    • exitExplicitCallFunctionCallExpression
    • exitExpressionStatement
    • exitExternalItem
    • exitFStringPrimaryExpression
    • exitForLoopIterationStatement
    • exitForceCastExpression
    • exitFunctionCallExpression
    • exitFunctionDeclaration
    • exitGenericTypeSpecifierExpression
    • exitIdentifierPrimaryExpression
    • exitIdentifierTypeSpecifierExpression
    • exitIfStatement
    • exitIncrementOrDecrementPostfixExpression
    • exitIncrementOrDecrementUnaryExpression
    • exitInterfaceDeclaration
    • exitInterfaceMethodDeclaration
    • exitInterfacePropertyDeclaration
    • exitJumpStatement
    • exitLambdaPrimaryExpression
    • exitNewInstantiationExpression
    • exitNullableTypeSpecifierExpression
    • exitNumberPrimaryExpression
    • exitObjectPrimaryExpression
    • exitObjectProperty
    • exitOperatorModifiedUnaryExpression
    • exitParameterDeclaration
    • exitReturnStatement
    • exitSliceNotationMemberAccessExpression
    • exitStringPrimaryExpression
    • exitSwitchStatement
    • exitTangledPrimaryExpression
    • exitTryCastExpression
    • exitTypeofExpression
    • exitTypeofTypeSpecifierExpression
    • exitVariableDeclaration
    • exitVoidOrNullOrUndefinedPrimaryExpression
    • exitWhileLoopIterationStatement

    Accessors

    • currentNode
    • declarationFactory
    • expressionFactory
    • programCtx
    • rootNode
    • statementFactory

    Methods

    • enterCastOrConvertExpression
    • enterDeclaration
    • enterDeclarator
    • enterDirectDeclarator
    • enterEveryRule
    • enterExpression
    • enterInitDeclarator
    • enterInitializer
    • enterLogicalAndExpression
    • enterParameterList
    • enterPassOnLogicalAndExpression
    • enterStorageTypeSpecifier
    • enterSwitchLabeledStatement
    • enterTypeSpecifierExpression
    • exitCastOrConvertExpression
    • exitDeclaration
    • exitDeclarator
    • exitDirectDeclarator
    • exitEveryRule
    • exitExpression
    • exitInitDeclarator
    • exitInitializer
    • exitLogicalAndExpression
    • exitParameterList
    • exitPassOnLogicalAndExpression
    • exitStorageTypeSpecifier
    • exitSwitchLabeledStatement
    • exitTypeSpecifierExpression
    • handleEnteringTreeNode
    • handleExitingTreeNode
    • isDeclarationContext
    • isExpressionContext
    • isStatementContext

    Constructors

    constructor

    • new KipperFileASTGenerator(programCtx, rootNode)

    Parameters

    Name Type
    programCtx KipperProgramContext
    rootNode CompilationUnitContext

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:121

    Properties

    _currentPrimaryNode

    • Private _currentPrimaryNode: undefined | Statement<StatementSemantics, StatementTypeSemantics> | Declaration<DeclarationSemantics, DeclarationTypeSemantics> | Expression<ExpressionSemantics, ExpressionTypeSemantics, CompilableASTNode<SemanticData, TypeData>>

    The current Kipper AST node that is being walked through right now. This is the instance where current metadata should be added to and read from, as this instance will represent and handle the context rules that were walked through during this operation.

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:119


    _declarationFactory

    • Private Readonly _declarationFactory: DeclarationASTNodeFactory

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:112


    _expressionFactory

    • Private Readonly _expressionFactory: ExpressionASTNodeFactory

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:110


    _rootNode

    • Private Readonly _rootNode: RootASTNode

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:109


    _statementFactory

    • Private Readonly _statementFactory: StatementASTNodeFactory

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:111


    enterActualAdditiveExpression

    • enterActualAdditiveExpression: (ctx: ActualAdditiveExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the actualAdditiveExpression labeled alternative in KipperParser.additiveExpression.

    Parameters
    Name Type Description
    ctx ActualAdditiveExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterActualAdditiveExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:662


    enterActualAssignmentExpression

    • enterActualAssignmentExpression: (ctx: ActualAssignmentExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the actualAssignmentExpression Labeled alternative in KipperParser.assignmentExpression.

    Parameters
    Name Type Description
    ctx ActualAssignmentExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterActualAssignmentExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:896


    enterActualBitwiseAndExpression

    • enterActualBitwiseAndExpression: (ctx: ActualBitwiseAndExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the KipperParser.bitwiseAndExpression

    Parameters
    Name Type
    ctx ActualBitwiseAndExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.enterActualBitwiseAndExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:810


    enterActualBitwiseOrExpression

    • enterActualBitwiseOrExpression: (ctx: ActualBitwiseOrExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the KipperParser.bitwiseOrExpression

    Parameters
    Name Type
    ctx ActualBitwiseOrExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.enterActualBitwiseOrExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:800


    enterActualBitwiseShiftExpression

    • enterActualBitwiseShiftExpression: (ctx: ActualBitwiseShiftExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the KipperParser.bitwiseShiftExpression

    Parameters
    Name Type
    ctx ActualBitwiseShiftExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.enterActualBitwiseShiftExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:832


    enterActualBitwiseXorExpression

    • enterActualBitwiseXorExpression: (ctx: ActualBitwiseXorExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the KipperParser.bitwiseXorExpression

    Parameters
    Name Type
    ctx ActualBitwiseXorExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.enterActualBitwiseXorExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:821


    enterActualConditionalExpression

    • enterActualConditionalExpression: (ctx: ActualConditionalExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the actualConditionalExpression Labeled alternative in KipperParser.conditionalExpression.

    Parameters
    Name Type Description
    ctx ActualConditionalExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterActualConditionalExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:873


    enterActualEqualityExpression

    • enterActualEqualityExpression: (ctx: ActualEqualityExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the actualEqualityExpression labeled alternative in KipperParser.equalityExpression.

    Parameters
    Name Type Description
    ctx ActualEqualityExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterActualEqualityExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:715


    enterActualInstanceOfExpression

    • enterActualInstanceOfExpression: (ctx: InstanceOfExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.instanceOfExpression.

    Parameters
    Name Type
    ctx InstanceOfExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.enterActualInstanceOfExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:674


    enterActualLogicalAndExpression

    • enterActualLogicalAndExpression: (ctx: ActualLogicalAndExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the actualLogicalAndExpression Labeled alternative in KipperParser.logicalAndExpression.

    Parameters
    Name Type Description
    ctx ActualLogicalAndExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterActualLogicalAndExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:762


    enterActualLogicalOrExpression

    • enterActualLogicalOrExpression: (ctx: ActualLogicalOrExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the actualLogicalOrExpression Labeled alternative in KipperParser.logicalOrExpression.

    Parameters
    Name Type Description
    ctx ActualLogicalOrExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterActualLogicalOrExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:784


    enterActualMatchesExpression

    • enterActualMatchesExpression: (ctx: MatchesExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the KipperParser.matchesExpression

    Parameters
    Name Type
    ctx MatchesExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.enterActualMatchesExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:854


    enterActualMultiplicativeExpression

    • enterActualMultiplicativeExpression: (ctx: ActualMultiplicativeExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the actualMultiplicativeExpression Labeled alternative in KipperParser.multiplicativeExpression.

    Parameters
    Name Type Description
    ctx ActualMultiplicativeExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterActualMultiplicativeExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:639


    enterActualRelationalExpression

    • enterActualRelationalExpression: (ctx: ActualRelationalExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the actualRelationalExpression labeled alternative in KipperParser.relationalExpression.

    Parameters
    Name Type Description
    ctx ActualRelationalExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterActualRelationalExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:693


    enterArrayPrimaryExpression

    • enterArrayPrimaryExpression: (ctx: ArrayPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.arrayPrimaryExpression.

    Parameters
    Name Type Description
    ctx ArrayPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterArrayPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:340


    enterBoolPrimaryExpression

    • enterBoolPrimaryExpression: (ctx: BoolPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.boolPrimaryExpression.

    Parameters
    Name Type Description
    ctx BoolPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterBoolPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:390


    enterBracketNotationMemberAccessExpression

    • enterBracketNotationMemberAccessExpression: (ctx: BracketNotationMemberAccessExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the bracketNotationMemberAccessExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx BracketNotationMemberAccessExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterBracketNotationMemberAccessExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:441


    enterCastExpression

    • enterCastExpression: (ctx: CastExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the castExpression labeled alternative in KipperParser.castExpression.

    Parameters
    Name Type Description
    ctx CastExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterCastExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:590


    enterClassConstructorDeclaration

    • enterClassConstructorDeclaration: (ctx: ClassConstructorDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.classConstructor.

    Parameters
    Name Type
    ctx ClassConstructorDeclarationContext
    Returns

    void

    Implementation of

    KipperParserListener.enterClassConstructorDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1219


    enterClassDeclaration

    • enterClassDeclaration: (ctx: ClassDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.classDeclaration.

    Parameters
    Name Type Description
    ctx ClassDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterClassDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1176


    enterClassMethodDeclaration

    • enterClassMethodDeclaration: (ctx: ClassMethodDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.classMethod.

    Parameters
    Name Type
    ctx ClassMethodDeclarationContext
    Returns

    void

    Implementation of

    KipperParserListener.enterClassMethodDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1208


    enterClassPropertyDeclaration

    • enterClassPropertyDeclaration: (ctx: ClassPropertyDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.classProperty.

    Parameters
    Name Type
    ctx ClassPropertyDeclarationContext
    Returns

    void

    Implementation of

    KipperParserListener.enterClassPropertyDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1198


    enterCompoundStatement

    • enterCompoundStatement: (ctx: CompoundStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.compoundStatement.

    Parameters
    Name Type Description
    ctx CompoundStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterCompoundStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:948


    enterConvertExpression

    • enterConvertExpression: (ctx: ConvertExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the convertExpression labeled alternative in KipperParser.convertExpression.

    Parameters
    Name Type Description
    ctx ConvertExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterConvertExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:576


    enterDoWhileLoopIterationStatement

    • enterDoWhileLoopIterationStatement: (ctx: DoWhileLoopIterationStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.doWhileLoopIterationStatement.

    Parameters
    Name Type Description
    ctx DoWhileLoopIterationStatementContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.enterDoWhileLoopIterationStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1045


    enterDotNotationMemberAccessExpression

    • enterDotNotationMemberAccessExpression: (ctx: DotNotationMemberAccessExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the dotNotationMemberAccessExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx DotNotationMemberAccessExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterDotNotationMemberAccessExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:425


    enterExplicitCallFunctionCallExpression

    • enterExplicitCallFunctionCallExpression: (ctx: ExplicitCallFunctionCallExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the explicitCallFunctionCallExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx ExplicitCallFunctionCallExpressionContext The parse tree (instance of KipperParserRuleContext)..
    Returns

    void

    Implementation of

    KipperParserListener.enterExplicitCallFunctionCallExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:487


    enterExpressionStatement

    • enterExpressionStatement: (ctx: ExpressionStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.expressionStatement.

    Parameters
    Name Type Description
    ctx ExpressionStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterExpressionStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:936


    enterExternalItem

    • Optional enterExternalItem: (ctx: ExternalItemContext) => void = undefined

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the externalItem.

    Parameters
    Name Type Description
    ctx ExternalItemContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterExternalItem

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:262


    enterFStringPrimaryExpression

    • enterFStringPrimaryExpression: (ctx: FStringPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.fStringPrimaryExpression.

    Parameters
    Name Type Description
    ctx FStringPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterFStringPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:304


    enterForLoopIterationStatement

    • enterForLoopIterationStatement: (ctx: ForLoopIterationStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.forLoopIterationStatement.

    Parameters
    Name Type Description
    ctx ForLoopIterationStatementContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.enterForLoopIterationStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1019


    enterForceCastExpression

    • enterForceCastExpression: (ctx: ForceCastExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the forceCastExpression labeled alternative in KipperParser.forceCastExpression.

    Parameters
    Name Type Description
    ctx ForceCastExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterForceCastExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:618


    enterFunctionCallExpression

    • enterFunctionCallExpression: (ctx: FunctionCallExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the functionCallExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx FunctionCallExpressionContext The parse tree (instance of KipperParserRuleContext)..
    Returns

    void

    Implementation of

    KipperParserListener.enterFunctionCallExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:473


    enterFunctionDeclaration

    • enterFunctionDeclaration: (ctx: FunctionDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.functionDefinition.

    Parameters
    Name Type Description
    ctx FunctionDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterFunctionDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1113


    enterGenericTypeSpecifierExpression

    • enterGenericTypeSpecifierExpression: (ctx: GenericTypeSpecifierExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.genericTypeSpecifier.

    Parameters
    Name Type Description
    ctx GenericTypeSpecifierExpressionContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.enterGenericTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1274


    enterIdentifierPrimaryExpression

    • enterIdentifierPrimaryExpression: (ctx: IdentifierPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.identifierPrimaryExpression.

    Parameters
    Name Type Description
    ctx IdentifierPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterIdentifierPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:278


    enterIdentifierTypeSpecifierExpression

    • enterIdentifierTypeSpecifierExpression: (ctx: IdentifierTypeSpecifierExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.identifierTypeSpecifier.

    Parameters
    Name Type Description
    ctx IdentifierTypeSpecifierExpressionContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.enterIdentifierTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1260


    enterIfStatement

    • enterIfStatement: (ctx: IfStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the ifStatement labeled alternative in KipperParser.selectionStatement.

    Parameters
    Name Type Description
    ctx IfStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterIfStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:968


    enterIncrementOrDecrementPostfixExpression

    • enterIncrementOrDecrementPostfixExpression: (ctx: IncrementOrDecrementPostfixExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.incrementOrDecrementPostfixExpression.

    Parameters
    Name Type Description
    ctx IncrementOrDecrementPostfixExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterIncrementOrDecrementPostfixExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:509


    enterIncrementOrDecrementUnaryExpression

    • enterIncrementOrDecrementUnaryExpression: (ctx: IncrementOrDecrementUnaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.incrementOrDecrementUnaryExpression.

    Parameters
    Name Type Description
    ctx IncrementOrDecrementUnaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterIncrementOrDecrementUnaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:531


    enterInterfaceDeclaration

    • enterInterfaceDeclaration: (ctx: InterfaceDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.interfaceDeclaration.

    Parameters
    Name Type Description
    ctx InterfaceDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterInterfaceDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1137


    enterInterfaceMethodDeclaration

    • enterInterfaceMethodDeclaration: (ctx: InterfaceMethodDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.interfaceMethodDeclaration.

    Parameters
    Name Type Description
    ctx InterfaceMethodDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterInterfaceMethodDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1163


    enterInterfacePropertyDeclaration

    • enterInterfacePropertyDeclaration: (ctx: InterfacePropertyDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.interfacePropertyDeclaration.

    Parameters
    Name Type Description
    ctx InterfacePropertyDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterInterfacePropertyDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1149


    enterJumpStatement

    • enterJumpStatement: (ctx: JumpStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.jumpStatement.

    Parameters
    Name Type Description
    ctx JumpStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterJumpStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1073


    enterLambdaPrimaryExpression

    • enterLambdaPrimaryExpression: (ctx: LambdaPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the `actualBitwiseShiftExpression

    Parameters
    Name Type Description
    ctx LambdaPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterLambdaPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:378


    enterNewInstantiationExpression

    • enterNewInstantiationExpression: (ctx: NewInstantiationExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.newInstantiationExpression.

    Parameters
    Name Type
    ctx NewInstantiationExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.enterNewInstantiationExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1187


    enterNullableTypeSpecifierExpression

    • enterNullableTypeSpecifierExpression: (ctx: NullableTypeSpecifierExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.nullableTypeSpecifier.

    Parameters
    Name Type Description
    ctx NullableTypeSpecifierExpressionContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.enterNullableTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1302


    enterNumberPrimaryExpression

    • enterNumberPrimaryExpression: (ctx: NumberPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.numberPrimaryExpression.

    Parameters
    Name Type Description
    ctx NumberPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterNumberPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:328


    enterObjectPrimaryExpression

    • enterObjectPrimaryExpression: (ctx: ObjectPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.objectPrimaryExpression.

    Parameters
    Name Type Description
    ctx ObjectPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterObjectPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:352


    enterObjectProperty

    • enterObjectProperty: (ctx: ObjectPropertyContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.objectProperty.

    Since

    0.11.0

    Parameters
    Name Type Description
    ctx ObjectPropertyContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterObjectProperty

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:365


    enterOperatorModifiedUnaryExpression

    • enterOperatorModifiedUnaryExpression: (ctx: OperatorModifiedUnaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.operatorModifiedUnaryExpression.

    Parameters
    Name Type Description
    ctx OperatorModifiedUnaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterOperatorModifiedUnaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:545


    enterParameterDeclaration

    • enterParameterDeclaration: (ctx: ParameterDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.parameterDeclaration.

    Parameters
    Name Type Description
    ctx ParameterDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterParameterDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1125


    enterReturnStatement

    • enterReturnStatement: (ctx: ReturnStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.returnStatement.

    Parameters
    Name Type Description
    ctx ReturnStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterReturnStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1061


    enterSliceNotationMemberAccessExpression

    • enterSliceNotationMemberAccessExpression: (ctx: SliceNotationMemberAccessExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the sliceNotationMemberAccessExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx SliceNotationMemberAccessExpressionContext The parse tree (instance of KipperParserRuleContext)..
    Returns

    void

    Implementation of

    KipperParserListener.enterSliceNotationMemberAccessExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:457


    enterStringPrimaryExpression

    • enterStringPrimaryExpression: (ctx: StringPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.stringPrimaryExpression.

    Parameters
    Name Type Description
    ctx StringPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterStringPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:292


    enterSwitchStatement

    • enterSwitchStatement: (ctx: SwitchStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the switchStatement labeled alternative in KipperParser.selectionStatement.

    Parameters
    Name Type Description
    ctx SwitchStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterSwitchStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:982


    enterTangledPrimaryExpression

    • enterTangledPrimaryExpression: (ctx: TangledPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.tangledPrimaryExpression.

    Parameters
    Name Type Description
    ctx TangledPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterTangledPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:316


    enterTryCastExpression

    • enterTryCastExpression: (ctx: TryCastExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the tryCastExpression labeled alternative in KipperParser.tryCastExpression.

    Parameters
    Name Type Description
    ctx TryCastExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterTryCastExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:604


    enterTypeofExpression

    • enterTypeofExpression: (ctx: TypeofExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by the KipperParser.typeofExpression

    Parameters
    Name Type
    ctx TypeofExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.enterTypeofExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:844


    enterTypeofTypeSpecifierExpression

    • enterTypeofTypeSpecifierExpression: (ctx: TypeofTypeSpecifierExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.typeofTypeSpecifier.

    Parameters
    Name Type Description
    ctx TypeofTypeSpecifierExpressionContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.enterTypeofTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1288


    enterVariableDeclaration

    • enterVariableDeclaration: (ctx: VariableDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.variableDeclaration.

    Parameters
    Name Type Description
    ctx VariableDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterVariableDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1101


    enterVoidOrNullOrUndefinedPrimaryExpression

    • enterVoidOrNullOrUndefinedPrimaryExpression: (ctx: VoidOrNullOrUndefinedPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.voidOrNullOrUndefinedPrimaryExpression.

    Parameters
    Name Type Description
    ctx VoidOrNullOrUndefinedPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.enterVoidOrNullOrUndefinedPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:402


    enterWhileLoopIterationStatement

    • enterWhileLoopIterationStatement: (ctx: WhileLoopIterationStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Enter a parse tree produced by KipperParser.whileLoopIterationStatement.

    Parameters
    Name Type Description
    ctx WhileLoopIterationStatementContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.enterWhileLoopIterationStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1031


    exitActualAdditiveExpression

    • exitActualAdditiveExpression: (ctx: ActualAdditiveExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the actualAdditiveExpression labeled alternative in KipperParser.additiveExpression.

    Parameters
    Name Type Description
    ctx ActualAdditiveExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitActualAdditiveExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:669


    exitActualAssignmentExpression

    • exitActualAssignmentExpression: (ctx: ActualAssignmentExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the actualAssignmentExpression Labeled alternative in KipperParser.assignmentExpression.

    Parameters
    Name Type Description
    ctx ActualAssignmentExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitActualAssignmentExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:904


    exitActualBitwiseAndExpression

    • exitActualBitwiseAndExpression: (ctx: ActualBitwiseAndExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the KipperParser.bitwiseAndExpression

    Parameters
    Name Type
    ctx ActualBitwiseAndExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.exitActualBitwiseAndExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:816


    exitActualBitwiseOrExpression

    • exitActualBitwiseOrExpression: (ctx: ActualBitwiseOrExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the KipperParser.bitwiseOrExpression

    Parameters
    Name Type
    ctx ActualBitwiseOrExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.exitActualBitwiseOrExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:805


    exitActualBitwiseShiftExpression

    • exitActualBitwiseShiftExpression: (ctx: ActualBitwiseShiftExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the KipperParser.bitwiseShiftExpression

    Parameters
    Name Type
    ctx ActualBitwiseShiftExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.exitActualBitwiseShiftExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:838


    exitActualBitwiseXorExpression

    • exitActualBitwiseXorExpression: (ctx: ActualBitwiseXorExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the KipperParser.bitwiseXorExpression

    Parameters
    Name Type
    ctx ActualBitwiseXorExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.exitActualBitwiseXorExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:827


    exitActualConditionalExpression

    • exitActualConditionalExpression: (ctx: ActualConditionalExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the actualConditionalExpression Labeled alternative in KipperParser.conditionalExpression.

    Parameters
    Name Type Description
    ctx ActualConditionalExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitActualConditionalExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:881


    exitActualEqualityExpression

    • exitActualEqualityExpression: (ctx: ActualEqualityExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the actualEqualityExpression labeled alternative in KipperParser.equalityExpression.

    Parameters
    Name Type Description
    ctx ActualEqualityExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitActualEqualityExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:722


    exitActualInstanceOfExpression

    • exitActualInstanceOfExpression: (ctx: InstanceOfExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.instanceOfExpression.

    Parameters
    Name Type
    ctx InstanceOfExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.exitActualInstanceOfExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:679


    exitActualLogicalAndExpression

    • exitActualLogicalAndExpression: (ctx: ActualLogicalAndExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the actualLogicalAndExpression Labeled alternative in KipperParser.logicalAndExpression.

    Parameters
    Name Type Description
    ctx ActualLogicalAndExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitActualLogicalAndExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:770


    exitActualLogicalOrExpression

    • exitActualLogicalOrExpression: (ctx: ActualLogicalOrExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the actualLogicalOrExpression Labeled alternative in KipperParser.logicalOrExpression.

    Parameters
    Name Type Description
    ctx ActualLogicalOrExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitActualLogicalOrExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:791


    exitActualMatchesExpression

    • exitActualMatchesExpression: (ctx: MatchesExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the KipperParser.matchesExpression

    Parameters
    Name Type
    ctx MatchesExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.exitActualMatchesExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:859


    exitActualMultiplicativeExpression

    • exitActualMultiplicativeExpression: (ctx: ActualMultiplicativeExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the actualMultiplicativeExpression Labeled alternative in KipperParser.multiplicativeExpression.

    Parameters
    Name Type Description
    ctx ActualMultiplicativeExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitActualMultiplicativeExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:647


    exitActualRelationalExpression

    • exitActualRelationalExpression: (ctx: ActualRelationalExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the actualRelationalExpression labeled alternative in KipperParser.relationalExpression.

    Parameters
    Name Type Description
    ctx ActualRelationalExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitActualRelationalExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:701


    exitArrayPrimaryExpression

    • exitArrayPrimaryExpression: (ctx: ArrayPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.arrayPrimaryExpression.

    Parameters
    Name Type Description
    ctx ArrayPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitArrayPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:346


    exitBoolPrimaryExpression

    • exitBoolPrimaryExpression: (ctx: BoolPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.boolPrimaryExpression.

    Parameters
    Name Type Description
    ctx BoolPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitBoolPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:396


    exitBracketNotationMemberAccessExpression

    • exitBracketNotationMemberAccessExpression: (ctx: BracketNotationMemberAccessExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the bracketNotationMemberAccessExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx BracketNotationMemberAccessExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitBracketNotationMemberAccessExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:449


    exitCastExpression

    • exitCastExpression: (ctx: CastExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the castExpression labeled alternative in KipperParser.castExpression.

    Parameters
    Name Type Description
    ctx CastExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitCastExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:597


    exitClassConstructorDeclaration

    • exitClassConstructorDeclaration: (ctx: ClassConstructorDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.classConstructor.

    Parameters
    Name Type
    ctx ClassConstructorDeclarationContext
    Returns

    void

    Implementation of

    KipperParserListener.exitClassConstructorDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1225


    exitClassDeclaration

    • exitClassDeclaration: (ctx: ClassDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.classDeclaration.

    Parameters
    Name Type Description
    ctx ClassDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitClassDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1182


    exitClassMethodDeclaration

    • exitClassMethodDeclaration: (ctx: ClassMethodDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.classMethod.

    Parameters
    Name Type
    ctx ClassMethodDeclarationContext
    Returns

    void

    Implementation of

    KipperParserListener.exitClassMethodDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1214


    exitClassPropertyDeclaration

    • exitClassPropertyDeclaration: (ctx: ClassPropertyDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.classProperty.

    Parameters
    Name Type
    ctx ClassPropertyDeclarationContext
    Returns

    void

    Implementation of

    KipperParserListener.exitClassPropertyDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1203


    exitCompoundStatement

    • exitCompoundStatement: (ctx: CompoundStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.compoundStatement.

    Parameters
    Name Type Description
    ctx CompoundStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitCompoundStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:954


    exitConvertExpression

    • exitConvertExpression: (ctx: ConvertExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the convertExpression labeled alternative in KipperParser.convertExpression.

    Parameters
    Name Type Description
    ctx ConvertExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitConvertExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:583


    exitDoWhileLoopIterationStatement

    • exitDoWhileLoopIterationStatement: (ctx: DoWhileLoopIterationStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.doWhileLoopIterationStatement.

    Parameters
    Name Type Description
    ctx DoWhileLoopIterationStatementContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.exitDoWhileLoopIterationStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1052


    exitDotNotationMemberAccessExpression

    • exitDotNotationMemberAccessExpression: (ctx: DotNotationMemberAccessExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the dotNotationMemberAccessExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx DotNotationMemberAccessExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitDotNotationMemberAccessExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:433


    exitExplicitCallFunctionCallExpression

    • exitExplicitCallFunctionCallExpression: (ctx: ExplicitCallFunctionCallExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the explicitCallFunctionCallExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx ExplicitCallFunctionCallExpressionContext The parse tree (instance of KipperParserRuleContext)..
    Returns

    void

    Implementation of

    KipperParserListener.exitExplicitCallFunctionCallExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:495


    exitExpressionStatement

    • exitExpressionStatement: (ctx: ExpressionStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.expressionStatement.

    Parameters
    Name Type Description
    ctx ExpressionStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitExpressionStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:942


    exitExternalItem

    • Optional exitExternalItem: (ctx: ExternalItemContext) => void = undefined

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the externalItem.

    Parameters
    Name Type Description
    ctx ExternalItemContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitExternalItem

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:268


    exitFStringPrimaryExpression

    • exitFStringPrimaryExpression: (ctx: FStringPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.fStringPrimaryExpression.

    Parameters
    Name Type Description
    ctx FStringPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitFStringPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:310


    exitForLoopIterationStatement

    • exitForLoopIterationStatement: (ctx: ForLoopIterationStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.forLoopIterationStatement.

    Parameters
    Name Type Description
    ctx ForLoopIterationStatementContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.exitForLoopIterationStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1025


    exitForceCastExpression

    • exitForceCastExpression: (ctx: ForceCastExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the forceCastExpression labeled alternative in KipperParser.forceCastExpression.

    Parameters
    Name Type Description
    ctx ForceCastExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitForceCastExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:625


    exitFunctionCallExpression

    • exitFunctionCallExpression: (ctx: FunctionCallExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the functionCallExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx FunctionCallExpressionContext The parse tree (instance of KipperParserRuleContext)..
    Returns

    void

    Implementation of

    KipperParserListener.exitFunctionCallExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:480


    exitFunctionDeclaration

    • exitFunctionDeclaration: (ctx: FunctionDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.functionDefinition.

    Parameters
    Name Type Description
    ctx FunctionDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitFunctionDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1119


    exitGenericTypeSpecifierExpression

    • exitGenericTypeSpecifierExpression: (ctx: GenericTypeSpecifierExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.genericTypeSpecifier.

    Parameters
    Name Type Description
    ctx GenericTypeSpecifierExpressionContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.exitGenericTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1281


    exitIdentifierPrimaryExpression

    • exitIdentifierPrimaryExpression: (ctx: IdentifierPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.identifierPrimaryExpression.

    Parameters
    Name Type Description
    ctx IdentifierPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitIdentifierPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:285


    exitIdentifierTypeSpecifierExpression

    • exitIdentifierTypeSpecifierExpression: (ctx: IdentifierTypeSpecifierExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.identifierTypeSpecifier.

    Parameters
    Name Type Description
    ctx IdentifierTypeSpecifierExpressionContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.exitIdentifierTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1267


    exitIfStatement

    • exitIfStatement: (ctx: IfStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the ifStatement labeled alternative in KipperParser.selectionStatement.

    Parameters
    Name Type Description
    ctx IfStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitIfStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:975


    exitIncrementOrDecrementPostfixExpression

    • exitIncrementOrDecrementPostfixExpression: (ctx: IncrementOrDecrementPostfixExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.incrementOrDecrementPostfixExpression.

    Parameters
    Name Type Description
    ctx IncrementOrDecrementPostfixExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitIncrementOrDecrementPostfixExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:516


    exitIncrementOrDecrementUnaryExpression

    • exitIncrementOrDecrementUnaryExpression: (ctx: IncrementOrDecrementUnaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.incrementOrDecrementUnaryExpression.

    Parameters
    Name Type Description
    ctx IncrementOrDecrementUnaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitIncrementOrDecrementUnaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:538


    exitInterfaceDeclaration

    • exitInterfaceDeclaration: (ctx: InterfaceDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.interfaceDeclaration.

    Parameters
    Name Type Description
    ctx InterfaceDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitInterfaceDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1143


    exitInterfaceMethodDeclaration

    • exitInterfaceMethodDeclaration: (ctx: InterfaceMethodDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.interfaceMethodDeclaration.

    Parameters
    Name Type Description
    ctx InterfaceMethodDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitInterfaceMethodDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1170


    exitInterfacePropertyDeclaration

    • exitInterfacePropertyDeclaration: (ctx: InterfacePropertyDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.interfacePropertyDeclaration.

    Parameters
    Name Type Description
    ctx InterfacePropertyDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitInterfacePropertyDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1156


    exitJumpStatement

    • exitJumpStatement: (ctx: JumpStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.jumpStatement.

    Parameters
    Name Type Description
    ctx JumpStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitJumpStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1079


    exitLambdaPrimaryExpression

    • exitLambdaPrimaryExpression: (ctx: LambdaPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the `actualBitwiseShiftExpression

    Parameters
    Name Type Description
    ctx LambdaPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitLambdaPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:384


    exitNewInstantiationExpression

    • exitNewInstantiationExpression: (ctx: NewInstantiationExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.newInstantiationExpression.

    Parameters
    Name Type
    ctx NewInstantiationExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.exitNewInstantiationExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1193


    exitNullableTypeSpecifierExpression

    • exitNullableTypeSpecifierExpression: (ctx: NullableTypeSpecifierExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.nullableTypeSpecifier.

    Parameters
    Name Type Description
    ctx NullableTypeSpecifierExpressionContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.exitNullableTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1309


    exitNumberPrimaryExpression

    • exitNumberPrimaryExpression: (ctx: NumberPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.numberPrimaryExpression.

    Parameters
    Name Type Description
    ctx NumberPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitNumberPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:334


    exitObjectPrimaryExpression

    • exitObjectPrimaryExpression: (ctx: ObjectPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.objectPrimaryExpression.

    Parameters
    Name Type Description
    ctx ObjectPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitObjectPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:358


    exitObjectProperty

    • exitObjectProperty: (ctx: ObjectPropertyContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.objectProperty.

    Since

    0.11.0

    Parameters
    Name Type Description
    ctx ObjectPropertyContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitObjectProperty

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:372


    exitOperatorModifiedUnaryExpression

    • exitOperatorModifiedUnaryExpression: (ctx: OperatorModifiedUnaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.operatorModifiedUnaryExpression.

    Parameters
    Name Type Description
    ctx OperatorModifiedUnaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitOperatorModifiedUnaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:552


    exitParameterDeclaration

    • exitParameterDeclaration: (ctx: ParameterDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.parameterDeclaration.

    Parameters
    Name Type Description
    ctx ParameterDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitParameterDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1131


    exitReturnStatement

    • exitReturnStatement: (ctx: ReturnStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.returnStatement.

    Parameters
    Name Type Description
    ctx ReturnStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitReturnStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1067


    exitSliceNotationMemberAccessExpression

    • exitSliceNotationMemberAccessExpression: (ctx: SliceNotationMemberAccessExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the sliceNotationMemberAccessExpression Labeled alternative in KipperParser.computedPrimaryExpression.

    Parameters
    Name Type Description
    ctx SliceNotationMemberAccessExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitSliceNotationMemberAccessExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:465


    exitStringPrimaryExpression

    • exitStringPrimaryExpression: (ctx: StringPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.stringPrimaryExpression.

    Parameters
    Name Type Description
    ctx StringPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitStringPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:298


    exitSwitchStatement

    • exitSwitchStatement: (ctx: SwitchStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the switchStatement labeled alternative in KipperParser.selectionStatement.

    Parameters
    Name Type Description
    ctx SwitchStatementContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitSwitchStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:989


    exitTangledPrimaryExpression

    • exitTangledPrimaryExpression: (ctx: TangledPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.tangledPrimaryExpression.

    Parameters
    Name Type Description
    ctx TangledPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitTangledPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:322


    exitTryCastExpression

    • exitTryCastExpression: (ctx: TryCastExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the tryCastExpression labeled alternative in KipperParser.tryCastExpression.

    Parameters
    Name Type Description
    ctx TryCastExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitTryCastExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:611


    exitTypeofExpression

    • exitTypeofExpression: (ctx: TypeofExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by the KipperParser.typeofExpression

    Parameters
    Name Type
    ctx TypeofExpressionContext
    Returns

    void

    Implementation of

    KipperParserListener.exitTypeofExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:849


    exitTypeofTypeSpecifierExpression

    • exitTypeofTypeSpecifierExpression: (ctx: TypeofTypeSpecifierExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.typeofTypeSpecifier.

    Parameters
    Name Type Description
    ctx TypeofTypeSpecifierExpressionContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.exitTypeofTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1295


    exitVariableDeclaration

    • exitVariableDeclaration: (ctx: VariableDeclarationContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.variableDeclaration.

    Parameters
    Name Type Description
    ctx VariableDeclarationContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitVariableDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1107


    exitVoidOrNullOrUndefinedPrimaryExpression

    • exitVoidOrNullOrUndefinedPrimaryExpression: (ctx: VoidOrNullOrUndefinedPrimaryExpressionContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.voidOrNullOrUndefinedPrimaryExpression.

    Parameters
    Name Type Description
    ctx VoidOrNullOrUndefinedPrimaryExpressionContext The parse tree (instance of KipperParserRuleContext).
    Returns

    void

    Implementation of

    KipperParserListener.exitVoidOrNullOrUndefinedPrimaryExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:409


    exitWhileLoopIterationStatement

    • exitWhileLoopIterationStatement: (ctx: WhileLoopIterationStatementContext) => void

    Type declaration

    ▸ (ctx): void

    Exit a parse tree produced by KipperParser.whileLoopIterationStatement.

    Parameters
    Name Type Description
    ctx WhileLoopIterationStatementContext the parse tree
    Returns

    void

    Implementation of

    KipperParserListener.exitWhileLoopIterationStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1038

    Accessors

    currentNode

    • Private get currentNode(): RootASTNode | CompilableASTNode<SemanticData, TypeData>

    Returns which token is being processed at the moment and where meta-data should be assigned to.

    Returns

    RootASTNode | CompilableASTNode<SemanticData, TypeData>

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:187


    declarationFactory

    • get declarationFactory(): DeclarationASTNodeFactory

    Returns the declaration factory that is used to create new declaration nodes based on the current Antlr4 context that is being walked through.

    Returns

    DeclarationASTNodeFactory

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:167


    expressionFactory

    • get expressionFactory(): ExpressionASTNodeFactory

    Returns the expression factory that is used to create new expression nodes based on the current Antlr4 context that is being walked through.

    Since

    0.10.0

    Returns

    ExpressionASTNodeFactory

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:150


    programCtx

    • get programCtx(): KipperProgramContext

    Returns the program context that owns this listener and the root node.

    Since

    0.10.0

    Returns

    KipperProgramContext

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:141


    rootNode

    • get rootNode(): RootASTNode

    The root node of the generated abstract syntax tree.

    Since

    0.8.0

    Returns

    RootASTNode

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:133


    statementFactory

    • get statementFactory(): StatementASTNodeFactory

    Returns the statement factory that is used to create new statement nodes based on the current Antlr4 context that is being walked through.

    Since

    0.10.0

    Returns

    StatementASTNodeFactory

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:159

    Methods

    enterCastOrConvertExpression

    ▸ Optional enterCastOrConvertExpression(ctx): void

    Enter a parse tree produced by the castOrConvertExpression labeled alternative in KipperParser.castOrConvertExpression.

    Parameters

    Name Type Description
    ctx CastOrConvertExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterCastOrConvertExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:562


    enterDeclaration

    ▸ Optional enterDeclaration(ctx): void

    Enter a parse tree produced by KipperParser.declaration.

    Parameters

    Name Type Description
    ctx DeclarationContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1089


    enterDeclarator

    ▸ Optional enterDeclarator(ctx): void

    Enter a parse tree produced by KipperParser.declarator.

    Parameters

    Name Type Description
    ctx DeclaratorContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterDeclarator

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1328


    enterDirectDeclarator

    ▸ Optional enterDirectDeclarator(ctx): void

    Enter a parse tree produced by KipperParser.directDeclarator.

    Parameters

    Name Type Description
    ctx DirectDeclaratorContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterDirectDeclarator

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1340


    enterEveryRule

    ▸ Optional enterEveryRule(ctx): void

    Function that is called every time an item is entered.

    Parameters

    Name Type Description
    ctx KipperParserRuleContext | ParserRuleContext The context of the rule.

    Returns

    void

    Implementation of

    KipperParserListener.enterEveryRule

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:246


    enterExpression

    ▸ Optional enterExpression(ctx): void

    Enter a parse tree produced by KipperParser.expression.

    Parameters

    Name Type Description
    ctx ExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:912


    enterInitDeclarator

    ▸ Optional enterInitDeclarator(ctx): void

    Enter a parse tree produced by KipperParser.initDeclarator.

    Parameters

    Name Type Description
    ctx InitDeclaratorContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterInitDeclarator

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1248


    enterInitializer

    ▸ Optional enterInitializer(ctx): void

    Enter a parse tree produced by KipperParser.initializer.

    Parameters

    Name Type Description
    ctx InitializerContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterInitializer

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1364


    enterLogicalAndExpression

    ▸ Optional enterLogicalAndExpression(ctx): void

    Enter a parse tree produced by KipperParser.logicalAndExpression.

    Parameters

    Name Type Description
    ctx LogicalAndExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterLogicalAndExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:735


    enterParameterList

    ▸ Optional enterParameterList(ctx): void

    Enter a parse tree produced by KipperParser.parameterList.

    Parameters

    Name Type Description
    ctx ParameterListContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterParameterList

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1352


    enterPassOnLogicalAndExpression

    ▸ Optional enterPassOnLogicalAndExpression(ctx): void

    Enter a parse tree produced by the passOnLogicalAndExpression Labeled alternative in KipperParser.logicalAndExpression.

    Parameters

    Name Type Description
    ctx PassOnLogicalAndExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterPassOnLogicalAndExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:748


    enterStorageTypeSpecifier

    ▸ Optional enterStorageTypeSpecifier(ctx): void

    Enter a parse tree produced by KipperParser.storageTypeSpecifier.

    Parameters

    Name Type Description
    ctx StorageTypeSpecifierContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterStorageTypeSpecifier

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1236


    enterSwitchLabeledStatement

    ▸ enterSwitchLabeledStatement(ctx): void

    Enter a parse tree produced by KipperParser.labeledStatement.

    Parameters

    Name Type Description
    ctx SwitchLabeledStatementContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterSwitchLabeledStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:995


    enterTypeSpecifierExpression

    ▸ Optional enterTypeSpecifierExpression(ctx): void

    Enter a parse tree produced by KipperParser.typeSpecifier.

    Parameters

    Name Type Description
    ctx TypeSpecifierExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.enterTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1316


    exitCastOrConvertExpression

    ▸ Optional exitCastOrConvertExpression(ctx): void

    Exit a parse tree produced by the castOrConvertExpression labeled alternative in KipperParser.castOrConvertExpression.

    Parameters

    Name Type Description
    ctx CastOrConvertExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitCastOrConvertExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:569


    exitDeclaration

    ▸ Optional exitDeclaration(ctx): void

    Exit a parse tree produced by KipperParser.declaration.

    Parameters

    Name Type Description
    ctx DeclarationContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitDeclaration

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1095


    exitDeclarator

    ▸ Optional exitDeclarator(ctx): void

    Exit a parse tree produced by KipperParser.declarator.

    Parameters

    Name Type Description
    ctx DeclaratorContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitDeclarator

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1334


    exitDirectDeclarator

    ▸ Optional exitDirectDeclarator(ctx): void

    Exit a parse tree produced by KipperParser.directDeclarator.

    Parameters

    Name Type Description
    ctx DirectDeclaratorContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitDirectDeclarator

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1346


    exitEveryRule

    ▸ Optional exitEveryRule(ctx): void

    Function that is called every time an item is exited.

    Parameters

    Name Type Description
    ctx KipperParserRuleContext | ParserRuleContext The context of the rule.

    Returns

    void

    Implementation of

    KipperParserListener.exitEveryRule

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:252


    exitExpression

    ▸ Optional exitExpression(ctx): void

    Exit a parse tree produced by KipperParser.expression.

    Parameters

    Name Type Description
    ctx ExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:918


    exitInitDeclarator

    ▸ Optional exitInitDeclarator(ctx): void

    Exit a parse tree produced by KipperParser.initDeclarator.

    Parameters

    Name Type Description
    ctx InitDeclaratorContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitInitDeclarator

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1254


    exitInitializer

    ▸ Optional exitInitializer(ctx): void

    Exit a parse tree produced by KipperParser.initializer.

    Parameters

    Name Type Description
    ctx InitializerContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitInitializer

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1370


    exitLogicalAndExpression

    ▸ Optional exitLogicalAndExpression(ctx): void

    Exit a parse tree produced by KipperParser.logicalAndExpression.

    Parameters

    Name Type Description
    ctx LogicalAndExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitLogicalAndExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:741


    exitParameterList

    ▸ Optional exitParameterList(ctx): void

    Exit a parse tree produced by KipperParser.parameterList.

    Parameters

    Name Type Description
    ctx ParameterListContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitParameterList

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1358


    exitPassOnLogicalAndExpression

    ▸ Optional exitPassOnLogicalAndExpression(ctx): void

    Exit a parse tree produced by the passOnLogicalAndExpression Labeled alternative in KipperParser.logicalAndExpression.

    Parameters

    Name Type Description
    ctx PassOnLogicalAndExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitPassOnLogicalAndExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:755


    exitStorageTypeSpecifier

    ▸ Optional exitStorageTypeSpecifier(ctx): void

    Exit a parse tree produced by KipperParser.storageTypeSpecifier.

    Parameters

    Name Type Description
    ctx StorageTypeSpecifierContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitStorageTypeSpecifier

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1242


    exitSwitchLabeledStatement

    ▸ exitSwitchLabeledStatement(ctx): void

    Exit a parse tree produced by KipperParser.labeledStatement.

    Parameters

    Name Type Description
    ctx SwitchLabeledStatementContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitSwitchLabeledStatement

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1003


    exitTypeSpecifierExpression

    ▸ Optional exitTypeSpecifierExpression(ctx): void

    Exit a parse tree produced by KipperParser.typeSpecifier.

    Parameters

    Name Type Description
    ctx TypeSpecifierExpressionContext The parse tree (instance of KipperParserRuleContext).

    Returns

    void

    Implementation of

    KipperParserListener.exitTypeSpecifierExpression

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:1322


    handleEnteringTreeNode

    ▸ Private handleEnteringTreeNode(ctx): void

    Handles an incoming statement context. The handling algorithm is as following:

    • If _currentPrimaryNode is undefined, then it will be created and set as a child of _rootNode
    • Otherwise, generate a new Statement instance, which will be added to the _currentPrimaryNode as a child. Afterwards _currentPrimaryNode will be set to this new instance, as all new context instances must be assigned to it. When the context is left, then the old _currentPrimaryNode will be restored as _currentPrimaryNode, and all further context instances will be assigned to it.

    Parameters

    Name Type
    ctx ASTNodeParserContext

    Returns

    void

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:205


    handleExitingTreeNode

    ▸ Private handleExitingTreeNode(): void

    Handles an exiting node context. This is required to properly generate the AST node hierarchy.

    Returns

    void

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:233


    isDeclarationContext

    ▸ Private isDeclarationContext(ctx): boolean

    Parameters

    Name Type
    ctx ASTNodeParserContext

    Returns

    boolean

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:175


    isExpressionContext

    ▸ Private isExpressionContext(ctx): boolean

    Parameters

    Name Type
    ctx ASTNodeParserContext

    Returns

    boolean

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:179


    isStatementContext

    ▸ Private isStatementContext(ctx): boolean

    Parameters

    Name Type
    ctx ASTNodeParserContext

    Returns

    boolean

    Defined in

    kipper/core/src/compiler/ast/ast-generator.ts:171

  • Developed at:

    • Releases
    • GitHub
    • Security
    • Issue Tracker
    • License
  • Copyright © 2021-2026 Luna Klatzer, 2024-2025 Lorenz Holzbauer & Fabian Baitura.
    Kipper is licensed under the GPL-3.0-or-later license.