kawa.lang
Class PatternScope
- Named, Printable
public class PatternScope
Bindings from a syntax-case
/syntax-rules
pattern.
add , add , addDeclaration , addDeclaration , addDeclaration , countDecls , currentLambda , currentModule , firstDecl , getDefine , getNoDefine , getVarScope , lookup , lookup , nesting , popScope , remove , remove , replaceFollowing , toString , walk |
apply , apply0 , compile , compile , compileNotePosition , compileWithPosition , compileWithPosition , eval , eval , getColumn , getFile , getFlag , getFlags , getLine , getType , makeWhile , match0 , print , print , printLineColumn , setFile , setFlag , setFlag , setLine , setLine , setLine , setLine , walk , walkChildren |
apply , apply , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , check0 , check1 , check2 , check3 , check4 , checkArgCount , checkN , getName , getProperty , getSetter , getSymbol , match0 , match1 , match2 , match3 , match4 , matchN , maxArgs , minArgs , name , numArgs , removeProperty , set0 , set1 , setN , setName , setProperty , setProperty , setSetter , setSymbol , toString |
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.
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,
PatternScope
public PatternScope()