Package kawa.lang

Class PatternScope

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

    public class PatternScope
    extends LetExp
    Bindings from a syntax-case/syntax-rules pattern.
    • Field Detail

      • pattern_names

        public java.util.Vector pattern_names
        Currently visible macro pattern names. For the i'th pattern variable, pattern_names.elementAt(i) is the name of the variable,
      • patternNesting

        public java.lang.StringBuffer patternNesting
        Nesting of currently visible macro pattern names. For the i'th pattern variable, (int) patternNesting.charAt(i)/2 is the nesting (in terms of number of ellipsis that indicate the variable is repeated). The low-order bit indicates that if matched value is the car of the value saved in the vars array.
    • Constructor Detail

      • PatternScope

        public PatternScope()