コード例 #1
0
 public static Datum Parse(Block block, Token token)
 {
     if (Immediate.IsImmediate(token))
     {
         return((Datum) new Immediate(token));
     }
     else
     {
         return((Datum)block.FindDeclaration(token));
     }
 }
コード例 #2
0
        public static Immediate operator -(Immediate imm1, Immediate imm2)
        {
            Immediate imm = new Immediate((imm1.Value - imm2.Value).Eval()[0].Token);

            return(imm);
        }