Class RStringLiteral

    • Field Detail

      • image

        public java.lang.String image
        The string image of the literal
      • allImages

        public static java.lang.String[] allImages
    • Constructor Detail

      • RStringLiteral

        public RStringLiteral()
        Standard constructor
      • RStringLiteral

        public RStringLiteral​(Token t,
                              java.lang.String im)
        Constructor with parameters.
        Parameters:
        t - - the token
        im - - the token image
    • Method Detail

      • ReInit

        public static void ReInit()
        Initialize all the static variables, so that there is no interference between the various states of the lexer. Need to call this method after generating code for each lexical state.
      • dump

        public java.lang.StringBuilder dump​(int indent,
                                            java.util.Set<java.lang.Object> alreadyDumped)
        Overrides:
        dump in class RegularExpression_
        Parameters:
        indent - - the number of spaces for indenting
        alreadyDumped - - a Set of objects already dumped (unused)
        Returns:
        the formatted string dumping the class