| 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, type, VALIDATEDcompilerKey, compilerXKey, validateApplyKey, validateXApplyKeynameKey| Constructor and Description |
|---|
PatternScope() |
| Modifier and Type | Method and Description |
|---|---|
static void |
pop(Translator tr) |
static PatternScope |
push(Translator tr) |
apply, calculateType, compile, evalVariable, getBody, mustCompile, print, print, setBody, visit, visitChildren, visitInitializersadd, add, addDeclaration, addDeclaration, addDeclaration, clearCallList, countDecls, currentLambda, currentModule, duplicateDeclarationError, firstDecl, getDefine, getNoDefine, getOuter, getVarScope, lookup, lookup, nestedIn, nesting, popScope, remove, remove, replaceFollowing, setIndexes, setOuter, topLevel, toStringapply0, checkLiteralKeyword, compile, compile, compileButFirst, compileNotePosition, compileWithPosition, compileWithPosition, deepCopy, deepCopy, deepCopy, deepCopy, eval, eval, getColumnNumber, getFileName, getFlag, getFlags, getLineNumber, getPublicId, getSystemId, getType, getTypeRaw, isSingleValue, isStableSourceLocation, makeWhile, match0, maybeSetLine, neverReturns, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, setLocation, setType, side_effects, validateApply, valueIfConstantapply, check0, check1, check2, check3, check4, checkArgCount, checkN, getReturnType, getSetter, getSourceLocation, isSideEffectFree, match1, match2, match3, match4, matchN, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocationgetName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbolpublic 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)