Closed BurtHarris closed 4 years ago
My confusion, closing
Reopening. Probably related to #398...
Found implementation in class AbstractParseTreeVisitor
export class EvalVisitor
extends AbstractParseTreeVisitor<number>
implements LabeledExprVisitor<number> { ...
I'm running
antlr4ts -visitor -no-listener LabeledExpr.g4
.The resulting LabeledExprVisitor.ts (an interface) has methods like
visitAssign()
does not implement thevisit()
method declared in ParseTreeVisitor.ts'sParseTreeVisitor<Result>
interface.