Esempio n. 1
0
 public TestFunction(AstBody body)
     : base(
         kind: FunctionKind.LocalArgument,
         address: 0,
         body: body)
 {
 }
Esempio n. 2
0
        public static ControlFlowGraph Compute(AstBody body)
        {
            var graph = new ControlFlowGraph(body);

            graph.Compute();

            return(graph);
        }
Esempio n. 3
0
 protected Function(FunctionKind kind, int address, AstBody body)
 {
     Kind    = kind;
     Address = address;
     Body    = body;
 }
Esempio n. 4
0
 private ControlFlowGraph(AstBody body)
 {
     this.Body = body;
 }
Esempio n. 5
0
 private GlulxFunction(FunctionKind kind, int address, AstBody body)
     : base(kind, address, body)
 {
 }