public ASTNumberLiteralNode(CmanParser.NumberLiteralContext context, ASTNode parent)
     : base(parent)
 {
     SetLocation(context);
     if (context.INT() != null)
     {
         Value = long.Parse(context.GetText());
     }
     if (context.FLOAT() != null)
     {
         Value = double.Parse(context.GetText(), System.Globalization.NumberStyles.Any, CultureInfo.InvariantCulture);
     }
     if (context.HEX() != null)
     {
         Value = int.Parse(context.GetText());
     }
 }
 //Push number literal to stack
 public override void ExitNumberLiteral([NotNull] CmanParser.NumberLiteralContext context)
 {
     _nodes.Push(new ASTNumberLiteralNode(context, _nodes.Peek()));
 }