public class BasicScope extends ComposedDumbScope implements IScope
ILocalScope.DataPlaceholder| Constructor and Description |
|---|
BasicScope(ILocalScope localScope,
IScopesTree surroundingScopes) |
| Modifier and Type | Method and Description |
|---|---|
IScope |
childByOwners(ASTCssNode headNode,
ASTCssNode... restNodes) |
IScope |
firstChild() |
IScope |
getChildOwnerOf(ASTCssNode body) |
IScope |
getRootScope() |
Expression |
getValue(String name) |
Expression |
getValue(Variable variable) |
void |
replaceChild(IScope parent,
IScope child,
List<IScope> replacements) |
boolean |
seesAllDataOf(IScope otherScope) |
boolean |
seesLocalDataOf(IScope otherScope) |
void |
setParent(IScope parent) |
void |
setParentKeepConsistency(IScope parent) |
IScope |
skipBodyOwner() |
String |
toFullName() |
String |
toLongString() |
StringBuilder |
toLongString(int level) |
String |
toString() |
add, addAllMixins, addChild, addFilteredVariables, addNames, addToDataPlaceholder, cloneCurrentDataSnapshot, closeDataPlaceholder, createCurrentDataSnapshot, createDataPlaceholder, createOriginalDataSnapshot, discardLastDataSnapshot, getAllMixins, getChilds, getLocalData, getLocalMixins, getLocalScope, getLocalValue, getLocalValue, getLocalVariables, getMixinsByName, getMixinsByName, getMixinsByName, getNames, getOwner, getParent, getSurroundingScopes, getTreeSize, getType, hasParent, hasTheSameLocalData, isBodyOwnerScope, isPresentInAst, registerMixin, registerVariable, registerVariable, registerVariable, registerVariableIfNotPresent, removedFromAst, replacePlaceholder, setLocalScopeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLocalScope, getLocalValue, getLocalValue, getSurroundingScopesadd, addAllMixins, addFilteredVariables, addNames, addToDataPlaceholder, cloneCurrentDataSnapshot, closeDataPlaceholder, createCurrentDataSnapshot, createDataPlaceholder, createOriginalDataSnapshot, discardLastDataSnapshot, getAllMixins, getLocalData, getLocalMixins, getLocalVariables, getMixinsByName, getMixinsByName, getMixinsByName, getNames, getOwner, getType, hasTheSameLocalData, isBodyOwnerScope, isPresentInAst, registerMixin, registerVariable, registerVariable, registerVariable, registerVariableIfNotPresent, removedFromAst, replacePlaceholderaddChild, getChilds, getParent, getTreeSize, hasParentpublic BasicScope(ILocalScope localScope, IScopesTree surroundingScopes)
public IScope firstChild()
firstChild in interface IScopepublic Expression getValue(Variable variable)
getValue in interface ILocalScopegetValue in interface IScopepublic Expression getValue(String name)
getValue in interface ILocalScopegetValue in interface IScopepublic IScope childByOwners(ASTCssNode headNode, ASTCssNode... restNodes)
childByOwners in interface IScopepublic IScope getChildOwnerOf(ASTCssNode body)
getChildOwnerOf in interface IScopepublic boolean seesLocalDataOf(IScope otherScope)
seesLocalDataOf in interface IScopepublic boolean seesAllDataOf(IScope otherScope)
seesAllDataOf in interface IScopepublic IScope getRootScope()
getRootScope in interface IScopepublic IScope skipBodyOwner()
skipBodyOwner in interface IScopepublic void setParentKeepConsistency(IScope parent)
setParentKeepConsistency in interface IScopepublic void setParent(IScope parent)
setParent in interface IScopesTreesetParent in class ComposedDumbScopepublic String toString()
public String toFullName()
toFullName in interface IScopepublic String toLongString()
toLongString in interface IScopepublic StringBuilder toLongString(int level)
toLongString in interface IScopeCopyright © 2012-2015. All Rights Reserved.