Class PragmaEntry


  • public class PragmaEntry
    extends SymtabEntry
    This is the symbol table entry for the #pragma statement.
    • Field Detail

      • _data

        private java.lang.String _data
    • Constructor Detail

      • PragmaEntry

        protected PragmaEntry()
      • PragmaEntry

        protected PragmaEntry​(SymtabEntry that)
      • PragmaEntry

        protected PragmaEntry​(PragmaEntry that)
    • Method Detail

      • clone

        public java.lang.Object clone()
        Description copied from class: SymtabEntry
        This is a shallow copy clone
        Overrides:
        clone in class SymtabEntry
      • generate

        public void generate​(java.util.Hashtable symbolTable,
                             java.io.PrintWriter stream)
        Invoke the Include type generator.
        Overrides:
        generate in class SymtabEntry
        Parameters:
        symbolTable - the symbol table is a hash table whose key is a fully qualified type name and whose value is a SymtabEntry or a subclass of SymtabEntry.
        stream - the stream to which the generator should sent its output.
        See Also:
        SymtabEntry
      • generator

        public Generator generator()
        Access the Include type generator.
        Overrides:
        generator in class SymtabEntry
        Returns:
        an object which implements the IncludeGen interface.
        See Also:
        IncludeGen
      • data

        public java.lang.String data()
      • data

        public void data​(java.lang.String newData)