java.lang.Object
de.grogra.suggest.scope.BaseScope
de.grogra.suggest.scope.LocalScopeSymbol
Local scope should be seen as LocalScope and retrieved with get nested data
but it seems easier to simply consider them as a inclosed scope.
-
Field Summary
Fields inherited from class de.grogra.suggest.scope.BaseScope
enclosingScope, nestedScopesNotSymbols, symbols
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getName()
Often scopes have names like function or class names.getScope()
void
setInsertionOrderNumber
(int i) void
Methods inherited from class de.grogra.suggest.scope.BaseScope
define, getAllNestedScopedSymbols, getAllSymbols, getEnclosingPathToRoot, getEnclosingScope, getEnclosingScopeOfType, getMembers, getNestedScopedSymbols, getNestedScopes, getNumberOfSymbols, getOuterMostEnclosingScope, getSymbol, getSymbolNames, getSymbols, nest, resolve, resolveFirst, setEnclosingScope, toQualifierString, toScopeStackString, toString, toTestString, toTestString
-
Constructor Details
-
LocalScopeSymbol
-
-
Method Details
-
getName
Description copied from interface:Scope
Often scopes have names like function or class names. For unnamed scopes like code blocks, you can just return "local" or something. -
getScope
-
setScope
-
getInsertionOrderNumber
public int getInsertionOrderNumber()- Specified by:
getInsertionOrderNumber
in interfaceSymbol
-
setInsertionOrderNumber
public void setInsertionOrderNumber(int i) - Specified by:
setInsertionOrderNumber
in interfaceSymbol
-