SourceLocator.Simple
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.
|
IS_BODY_SCOPE
applyMethodExpression, flags, NEXT_AVAIL_FLAG, noExpressions, type, VALIDATED
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
nameKey
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, visitInitializers
add, add, addDeclaration, addDeclaration, addDeclaration, clearCallList, countDecls, currentLambda, currentModule, duplicateDeclarationError, firstDecl, getDefine, getNoDefine, getOuter, getVarScope, isClassGenerated, lastDecl, lookup, lookup, nestedIn, nesting, popScope, remove, remove, replaceFollowing, setIndexes, setOuter, topLevel, toString
applyMethodExpression, checkLiteralKeyword, compile, compile, compileWithPosition, compileWithPosition, deepCopy, deepCopy, deepCopy, deepCopy, eval, eval, getColumnNumber, getEndColumn, getEndLine, getFileName, getFlag, getFlags, getLineNumber, getPublicId, getStartColumn, getStartLine, getSystemId, getType, getTypeRaw, isSingleValue, isStableSourceLocation, makeWhile, maybeSetLine, neverReturns, numArgs, print, printLineColumn, setFile, setFlag, setFlag, setLine, setLine, setLine, setLine, setLine, setLocation, setType, side_effects, validateApply, valueIfConstant
apply0, apply1, apply2, apply3, apply4, applyL, applyN, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, 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)