public override ASTNode VisitString([NotNull] CoolParser.StringContext context) { return(new StringNode(context.STRING().Symbol.Line, context.STRING().Symbol.Column) { Value = context.STRING().GetText() }); }
public override ASTNode VisitString([NotNull] CoolParser.StringContext context) { return(new StringNode(context, context.STRING().GetText())); }