With a forward analysis, output properties are determined by the inputs.
nitc :: ForwardAnalysis :: defaultinit
nitc $ ForwardAnalysis :: SELF
Type of this instance, automatically specialized in every classnitc $ ForwardAnalysis :: visit
What the visitor do when a node is visitednitc :: StaticAnalysis :: FLOW
Type of FlowSet representation used by the StaticAnalysis.nitc :: StaticAnalysis :: _current_inset
"in" set for the currently visited node.nitc :: StaticAnalysis :: _current_outset
'out' set for the currently visited node.nitc :: StaticAnalysis :: _modelbuilder
ModelBuilder used to lookup AST nodes.core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: StaticAnalysis :: current_inset
"in" set for the currently visited node.nitc :: StaticAnalysis :: current_inset=
"in" set for the currently visited node.nitc :: Visitor :: current_node=
The current visited nodenitc :: StaticAnalysis :: current_outset
'out' set for the currently visited node.nitc :: StaticAnalysis :: current_outset=
'out' set for the currently visited node.nitc :: ForwardAnalysis :: defaultinit
core :: Object :: defaultinit
nitc :: Visitor :: defaultinit
nitc :: StaticAnalysis :: defaultinit
nitc :: Visitor :: enter_visit
Ask the visitor to visit a given node.core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
nitc :: StaticAnalysis :: modelbuilder
ModelBuilder used to lookup AST nodes.nitc :: StaticAnalysis :: modelbuilder=
ModelBuilder used to lookup AST nodes.core :: Object :: native_class_name
The class name of the object in CString format.nitc :: StaticAnalysis :: new_initial_flow
Initial flow set to use.nitc :: StaticAnalysis :: new_initial_method_flow
Initial flow set to use within methods.core :: Object :: output_class_name
Display class name on stdout (debug only).nitc :: StaticAnalysis :: pretty_print
Pretty print the outsets of this analysis.
# An analysis go forward from the entry point to the exit point.
#
# With a forward analysis, output properties are determined by the inputs.
class ForwardAnalysis
super StaticAnalysis
redef fun visit(n) do n.accept_forward_analysis(self)
end
src/saf/saf_base.nit:83,1--90,3