Package kawa.lang

Class TemplateScope

  • All Implemented Interfaces:
    gnu.kawa.format.Printable, Named, SourceLocator, java.io.Externalizable, java.io.Serializable, javax.xml.transform.SourceLocator, org.xml.sax.Locator

    public class TemplateScope
    extends LetExp
    implements java.io.Externalizable
    A scope created when expanding a SyntaxTemplate. This is used to ensure proper "hygiene".
    See Also:
    Serialized Form
    • Constructor Detail

      • TemplateScope

        public TemplateScope()
      • TemplateScope

        public TemplateScope​(ScopeExp outer)
    • Method Detail

      • make

        public static TemplateScope make​(java.lang.String moduleClassName)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class ScopeExp
      • writeExternal

        public void writeExternal​(java.io.ObjectOutput out)
                           throws java.io.IOException
        Specified by:
        writeExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
      • readExternal

        public void readExternal​(java.io.ObjectInput in)
                          throws java.io.IOException,
                                 java.lang.ClassNotFoundException
        Specified by:
        readExternal in interface java.io.Externalizable
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException