Package sanskrit

Class Ast.Constant

Enclosing class:
Ast

public static final class Ast.Constant extends Ast.Expr
  • Field Details

    • value

      public final Object value
      null (None), Boolean, Long, Double or String.
  • Method Details

    • type

      public String type()
      Description copied from class: Node
      The name of the node in CPython's ast module ("Name", "BinOp"...).
      Specified by:
      type in class Node