solidity-antlr4
Version:
Solidity Lang Lexer and Parser by official ANTLR4 grammar
15 lines (14 loc) • 416 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.YulLiteral = void 0;
var _base = require("../base.cjs");
class YulLiteral extends _base.BaseNodeString {
type = "YulLiteral";
constructor(ctx, visitor) {
super(ctx, visitor);
this.name = ctx.yulBoolean() !== null ? ctx.yulBoolean().YulTrue() ? "true" : "false" : ctx.getText();
}
}
exports.YulLiteral = YulLiteral;