枚举 Tag

  • 所有已实现的接口:
    java.io.Serializable, java.lang.Comparable<Tag>

    public enum Tag
    extends java.lang.Enum<Tag>
    • 枚举常量详细资料

      • TRUE

        public static final Tag TRUE
      • FALSE

        public static final Tag FALSE
      • ELSE

        public static final Tag ELSE
      • NIL

        public static final Tag NIL
      • LB

        public static final Tag LB
      • RB

        public static final Tag RB
      • ID

        public static final Tag ID
      • DA

        public static final Tag DA
      • NUM

        public static final Tag NUM
      • REAL

        public static final Tag REAL
      • SYMBOL_LIST

        public static final Tag SYMBOL_LIST
      • SOCKET

        public static final Tag SOCKET
      • EXCHANGE

        public static final Tag EXCHANGE
      • AST

        public static final Tag AST
      • HTTPSERVER

        public static final Tag HTTPSERVER
      • PROPERTIES

        public static final Tag PROPERTIES
      • THREAD

        public static final Tag THREAD
      • STRUCTURE

        public static final Tag STRUCTURE
      • FUNCTION

        public static final Tag FUNCTION
      • SP

        public static final Tag SP
      • STR

        public static final Tag STR
      • ARRAY

        public static final Tag ARRAY
      • LIBRARY

        public static final Tag LIBRARY
    • 方法详细资料

      • values

        public static Tag[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (Tag c : Tag.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static Tag valueOf​(java.lang.String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        java.lang.NullPointerException - 如果参数为空值