UNPKG

solidity-antlr4

Version:

Solidity Lang Lexer and Parser by official ANTLR4 grammar

20 lines (19 loc) 534 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CatchClause = void 0; var _base = require("../base.cjs"); class CatchClause extends _base.BaseNode { type = "CatchClause"; errorName = null; parameters = null; body; constructor(ctx, visitor) { super(ctx, visitor); this.errorName = ctx.identifier()?.accept(visitor) ?? null; this.body = ctx.block().accept(visitor); this.parameters = ctx.parameterList()?.accept(visitor) ?? null; } } exports.CatchClause = CatchClause;