Exemplo n.º 1
0
 public override void Apply(object[] args)
 {
     if(args.Length >= 1)
         op = (Symbol)args[0];
     if(args.Length >= 2)
         name = (Symbol)args[1];
     if(args.Length >= 3)
         value = args[2];
 }
Exemplo n.º 2
0
 public static Symbol Get(string name)
 {
     Symbol s;
     if (symbols.TryGetValue (name, out s)) {
         return s;
     }
     s = symbols [name] = new Symbol (name);
     return s;
 }
Exemplo n.º 3
0
 public override void Apply(object[] args)
 {
     if(args.Length >= 1)
         name = (Symbol)args[0];
 }
Exemplo n.º 4
0
 public override void Apply(object[] args)
 {
     if(args.Length >= 1)
         name = (Symbol)args[0];
     reactor.blackboard.CreateLabel(this);
 }
Exemplo n.º 5
0
 public Node GetLabel(Symbol name)
 {
     return labels[name].children[0];
 }