Package org.sonar.python.cfg.fixpoint
Class CfgBlockState
- java.lang.Object
-
- org.sonar.python.cfg.fixpoint.CfgBlockState
-
- Direct Known Subclasses:
DefinedVariablesAnalysis.DefinedVariables,LiveVariablesAnalysis.LiveVariables
public abstract class CfgBlockState extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected CfgBlockblockprotected Set<Symbol>genvariables that are being read in the blockprotected Set<Symbol>killvariables that are being written in the blockprotected Map<Tree,Map<Symbol,UsageVisitor.SymbolUsage>>variableUsagesPerElement
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Symbol>getGen()Set<Symbol>getKill()Map<Symbol,UsageVisitor.SymbolUsage>getVariableUsages(Tree tree)protected voidinit(CfgBlock block)booleanisSymbolUsedInBlock(Symbol symbol)
-