public ASTBoolLiteralNode(CmanParser.BoolLiteralContext context, ASTNode parent) : base(parent) { if (context.TRUE() != null) { Value = true; } else { Value = false; } SetLocation(context); }
public override void EnterBoolLiteral([NotNull] CmanParser.BoolLiteralContext context) { _nodes.Push(new ASTBoolLiteralNode(context, _nodes.Peek())); }