UNPKG

solidity-antlr4

Version:

Solidity Lang Lexer and Parser by official ANTLR4 grammar

20 lines (19 loc) 676 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VariableDeclarationStatement = void 0; var _base = require("../base.cjs"); class VariableDeclarationStatement extends _base.BaseNode { type = "VariableDeclarationStatement"; variable = null; variableTuple = null; expression = null; constructor(ctx, visitor) { super(ctx, visitor); this.variableTuple = ctx.variableDeclarationTuple()?.accept(visitor) ?? null; this.variable = ctx.variableDeclaration()?.accept(visitor) ?? null; this.expression = ctx.expression()?.accept(visitor) ?? null; } } exports.VariableDeclarationStatement = VariableDeclarationStatement;