solidity-antlr4
Version:
Solidity Lang Lexer and Parser by official ANTLR4 grammar
18 lines (17 loc) • 467 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.YulIfStatement = void 0;
var _base = require("../base.cjs");
class YulIfStatement extends _base.BaseNode {
type = "YulIfStatement";
condition = null;
body = null;
constructor(ctx, visitor) {
super(ctx, visitor);
this.condition = ctx._cond?.accept(visitor) ?? null;
this.body = ctx._body?.accept(visitor) ?? null;
}
}
exports.YulIfStatement = YulIfStatement;