UNPKG

solidity-antlr4

Version:

Solidity Lang Lexer and Parser by official ANTLR4 grammar

18 lines (17 loc) 512 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.YulFunctionCall = void 0; var _base = require("../base.cjs"); class YulFunctionCall extends _base.BaseNode { type = "YulFunctionCall"; identifier; expressions = []; constructor(ctx, visitor) { super(ctx, visitor); this.identifier = (ctx.YulEVMBuiltin() || ctx.YulIdentifier()).getText(); this.expressions = ctx.yulExpression().map(e => e.accept(visitor)); } } exports.YulFunctionCall = YulFunctionCall;