UNPKG

solidity-antlr4

Version:

Solidity Lang Lexer and Parser by official ANTLR4 grammar

18 lines (17 loc) 495 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ModifierInvocation = void 0; var _base = require("../base.cjs"); class ModifierInvocation extends _base.BaseNode { type = "ModifierInvocation"; name; arguments = null; constructor(ctx, visitor) { super(ctx, visitor); this.name = ctx.identifierPath().accept(visitor); this.arguments = ctx.callArgumentList()?.accept(visitor) ?? null; } } exports.ModifierInvocation = ModifierInvocation;