import ast_base
redef class AnalysisManager
- redef fun build_ast(filename)
+ redef fun build_ast(filename, stream)
do
var ast = super
if ast != null then
abstract class ARichBinaryInstruction
super ABinaryInstruction
- #redef var n_access : AAccess
- #redef var n_id : TId
-
init from( src: ABinaryInstruction ) do
_n_operand = src.n_operand
_n_id = src.n_id
- location = src.location
parent = src.parent
+
+ init
+ _location = src.location
end
end
abstract class ARichUnaryInstruction
super AUnaryInstruction
- #redef var n_id : TId
-
init from( src: AUnaryInstruction ) do
_n_id = src.n_id
- _location = src.location
parent = src.parent
+
+ init
+ _location = src.location
end
end