solidity-antlr4
Version:
Solidity Lang Lexer and Parser by official ANTLR4 grammar
14 lines (13 loc) • 731 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ContractBodyElement = void 0;
var _base = require("../base.cjs");
class ContractBodyElement extends _base.BaseNodeUnion {
// type = 'ContractBodyElement' as const;
constructor(ctx, visitor) {
super(ctx, [ctx.constructorDefinition(), ctx.functionDefinition(), ctx.modifierDefinition(), ctx.fallbackFunctionDefinition(), ctx.receiveFunctionDefinition(), ctx.structDefinition(), ctx.enumDefinition(), ctx.userDefinedValueTypeDefinition(), ctx.stateVariableDeclaration(), ctx.stateVariableDeclaration(), ctx.eventDefinition(), ctx.errorDefinition(), ctx.usingDirective()], visitor);
}
}
exports.ContractBodyElement = ContractBodyElement;