コード例 #1
0
 public Number(Integer integer, Fraction fraction, Exponentiation exponentiation)
     : base(integer, fraction, exponentiation)
 {
     this.integer = integer;
     this.fraction = fraction;
     this.exponentiation = exponentiation;
 }
コード例 #2
0
 protected virtual Fraction VisitFraction(Fraction node)
 {
     return VisitSyntaxNode(node) as Fraction;
 }
コード例 #3
0
 public Number(Integer integer, Fraction fraction)
     : base(integer)
 {
     this.integer = integer;
     this.fraction = fraction;
 }
コード例 #4
0
 protected override Fraction VisitFraction(Fraction node)
 {
     visitedFraction = true;
     Assert.IsTrue(node.ToString() == ".0");
     return base.VisitFraction(node);
 }