kawa.lang
Class PatternScope
- org.xml.sax.Locator, Named, Printable, SourceLocator
public class PatternScope
Bindings from a syntax-case
/syntax-rules
pattern.
apply , compile , getBody , getType , mustCompile , print , print , setBody , walk , walkChildren , walkInitializers |
add , add , addDeclaration , addDeclaration , addDeclaration , countDecls , currentLambda , currentModule , duplicateDeclarationError , firstDecl , getDefine , getNoDefine , getVarScope , lookup , lookup , nesting , popScope , remove , remove , replaceFollowing , setIndexes , toString , walk |
apply , apply0 , compile , compile , compile , compileButFirst , compileNotePosition , compileWithPosition , compileWithPosition , eval , eval , getColumnNumber , getFileName , getFlag , getFlags , getLineNumber , getPublicId , getSystemId , getType , inline , isStableSourceLocation , makeWhile , match0 , mustCompile , print , print , printLineColumn , setFile , setFlag , setFlag , setLine , setLine , setLine , setLine , setLocation , side_effects , toString , valueIfConstant , walk , walkChildren |
apply , apply , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , check0 , check1 , check2 , check3 , check4 , checkArgCount , checkN , getSetter , getSourceLocation , match0 , match1 , match2 , match3 , match4 , matchN , maxArgs , minArgs , numArgs , set0 , set1 , setN , setSetter , setSourceLocation , 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()