Package kawa.lang

Class PatternScope

All Implemented Interfaces:
gnu.kawa.format.Printable, Named, SourceLocator, SourceLocator, Locator

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

    • pattern_names

      public 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 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.
    • matchArray

      public Declaration matchArray
  • Constructor Details

    • PatternScope

      public PatternScope()
  • Method Details