|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object scale.common.Root scale.clef.Node scale.clef.decl.Declaration scale.clef.decl.ValueDecl scale.clef.decl.VariableDecl scale.score.analyses.VirtualVar scale.score.analyses.SuperVirtualVar
public final class SuperVirtualVar
A SuperVirtualVar contains subset virtual virtual variables.
Used in category alias analysis.
Field Summary |
---|
Fields inherited from class scale.score.analyses.VirtualVar |
---|
var |
Fields inherited from class scale.clef.decl.VariableDecl |
---|
ignoreAddressTaken |
Constructor Summary | |
---|---|
SuperVirtualVar(java.lang.String name)
|
|
SuperVirtualVar(java.lang.String name,
Vector<VirtualVar> subsets)
Create a new super virtual variable with given name and subsets list |
Method Summary | |
---|---|
Declaration |
copy(java.lang.String name)
Make a copy of this declaration using a new name. |
SubVirtualVar |
createSubset(ECR ecr)
Create a SubVirtualVar
from this SuperVirtualVar. |
Node |
getChild(int i)
Return the specified AST child of this node. |
VirtualVar |
getSubset(int i)
Return the specified subset variable. |
VirtualVar |
getSuperset()
Return the superset virtual variable. |
boolean |
inSubsets(VirtualVar vv)
Return true if vv is in the subset. |
int |
numChildren()
Return the number of AST children of this node. |
int |
numSubsets()
Return the number of subsets of the super virtual variable. |
Methods inherited from class scale.score.analyses.VirtualVar |
---|
created, getDisplayLabel, getECR, isSuper, isVirtual, subsetEquiv |
Methods inherited from class scale.clef.decl.ValueDecl |
---|
getValue, isValueDecl, returnValueDecl |
Methods inherited from class scale.clef.Node |
---|
getSourceLineNumber, setAnnotationLevel, setReportLevel, setSourceLineNumber, toString, toString, toStringChildren |
Methods inherited from class scale.common.Root |
---|
addAnnotation, allAnnotations, allMatchingAnnotations, getAnnotation, getDisplayName, getDisplayString, getNodeCount, getNodeID, hasAnnotation, hasEqualAnnotation, removeAnnotation, removeAnnotations, toStringAnnotations, toStringClass, trace, trace, trace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SuperVirtualVar(java.lang.String name)
public SuperVirtualVar(java.lang.String name, Vector<VirtualVar> subsets)
Method Detail |
---|
public SubVirtualVar createSubset(ECR ecr)
SubVirtualVar
from this SuperVirtualVar.
public final int numSubsets()
numSubsets
in class VirtualVar
public final VirtualVar getSubset(int i)
getSubset
in class VirtualVar
public final VirtualVar getSuperset()
getSuperset
in class VirtualVar
public boolean inSubsets(VirtualVar vv)
inSubsets
in class VirtualVar
public Declaration copy(java.lang.String name)
copy
in class VirtualVar
public Node getChild(int i)
getChild
in class ValueDecl
public int numChildren()
numChildren
in class ValueDecl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |