solidity-antlr4
Version:
Solidity Lang Lexer and Parser by official ANTLR4 grammar
18 lines (17 loc) • 470 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.IdentifierPath = void 0;
var _base = require("../base.cjs");
class IdentifierPath extends _base.BaseNodeString {
type = "IdentifierPath";
name;
identifiers;
constructor(ctx, visitor) {
super(ctx, visitor);
this.name = ctx.getText();
this.identifiers = ctx.identifier().map(identifier => identifier.accept(visitor));
}
}
exports.IdentifierPath = IdentifierPath;