Modifier and Type | Field and Description |
---|---|
Declaration |
matchArray |
java.util.Vector |
pattern_names
Currently visible macro pattern names.
|
java.lang.StringBuffer |
patternNesting
Nesting of currently visible macro pattern names.
|
flags, NEXT_AVAIL_FLAG, noExpressions, VALIDATED
compilerKey, validateApplyKey
nameKey
Constructor and Description |
---|
PatternScope() |
Modifier and Type | Method and Description |
---|---|
static void |
pop(Translator tr) |
static PatternScope |
push(Translator tr) |
apply, compile, evalVariable, getBody, getType, mustCompile, print, print, setBody, visit, visitChildren, visitInitializers
add, add, addDeclaration, addDeclaration, addDeclaration, countDecls, countNonDynamicDecls, currentLambda, currentModule, duplicateDeclarationError, firstDecl, getDefine, getNoDefine, getVarScope, lookup, lookup, nestedIn, nesting, popScope, remove, remove, replaceFollowing, setIndexes, topLevel, toString
apply0, compile, compile, compileButFirst, compileNotePosition, compileWithPosition, compileWithPosition, deepCopy, deepCopy, deepCopy, deepCopy, eval, eval, getColumnNumber, getFileName, getFlag, getFlags, getLineNumber, getPublicId, getSystemId, isSingleValue, isStableSourceLocation, makeWhile, match0, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, setLocation, side_effects, validateApply, valueIfConstant
apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getReturnType, getSetter, getSourceLocation, isSideEffectFree, match1, match2, match3, match4, matchN, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
public java.util.Vector pattern_names
public java.lang.StringBuffer patternNesting
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.public Declaration matchArray
public static PatternScope push(Translator tr)
public static void pop(Translator tr)