Package it.unive.lisa.interprocedural
Class UniqueScope
- java.lang.Object
-
- it.unive.lisa.interprocedural.UniqueScope
-
-
Constructor Summary
Constructors Constructor Description UniqueScope()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isStartingId()
Yields whether or not this id is the starting one, that is, if it has been generated withScopeId.startingId()
or if it must be considered equivalent to the value returned by that method.ScopeId
push(CFGCall scopeToken)
Transforms the current scope id by appending the given call.ScopeId
startingId()
Yields the id to use at the start of the analysis, for entrypoints.
-
-
-
Method Detail
-
startingId
public ScopeId startingId()
Description copied from interface:ScopeId
Yields the id to use at the start of the analysis, for entrypoints.- Specified by:
startingId
in interfaceScopeId
- Returns:
- the scope
-
push
public ScopeId push(CFGCall scopeToken)
Description copied from interface:ScopeId
Transforms the current scope id by appending the given call.
-
isStartingId
public boolean isStartingId()
Description copied from interface:ScopeId
Yields whether or not this id is the starting one, that is, if it has been generated withScopeId.startingId()
or if it must be considered equivalent to the value returned by that method.- Specified by:
isStartingId
in interfaceScopeId
- Returns:
true
if that condition holds
-
-