//Push string literal to stack public override void ExitStringLiteral([NotNull] CmanParser.StringLiteralContext context) { _nodes.Push(new ASTStringLiteralNode(context, _nodes.Peek())); }
public ASTStringLiteralNode(CmanParser.StringLiteralContext context, ASTNode parent) : base(parent) { SetLocation(context); Value = context.STRING().GetText().Trim(new char[] { '"' }); }