Permalink
Browse files

Regenerate math.rb

  • Loading branch information...
1 parent 41aaba2 commit d2eadaa49f74d0096dcfa2a122b9bdfe87fc0e95 @namelessjon committed May 8, 2012
Showing with 10 additions and 10 deletions.
  1. +10 −10 lib/exalted_math/math.rb
View
@@ -1,7 +1,7 @@
# Autogenerated from a Treetop grammar. Edits may be lost.
-module Exalted
+module ExaltedMath
module Maths
include Treetop::Runtime
@@ -25,7 +25,7 @@ def additive
module Additive1
def ast
- Ast.add(multitive.ast, additive.ast )
+ AddNode.new(multitive.ast, additive.ast )
end
end
@@ -45,7 +45,7 @@ def additive
module Additive3
def ast
- Ast.sub( multitive.ast, additive.ast )
+ SubtractNode.new( multitive.ast, additive.ast )
end
end
@@ -156,7 +156,7 @@ def multitive
module Multitive1
def ast
- Ast.mul(primary.ast, multitive.ast )
+ MultiplyNode.new(primary.ast, multitive.ast )
end
end
@@ -176,7 +176,7 @@ def multitive
module Multitive3
def ast
- Ast.div( primary.ast, multitive.ast )
+ MultiplyNode.new( primary.ast, multitive.ast )
end
end
@@ -395,7 +395,7 @@ def value
end
def ast
- Ast.spec(value)
+ SpecNode.new(value)
end
end
@@ -532,7 +532,7 @@ def count
end
def ast
- Ast.max( count, list.asts )
+ MaximumNode.new(list.asts, count)
end
end
@@ -677,7 +677,7 @@ def count
end
end
def ast
- Ast.min( count, list.asts )
+ MinimumNode.new(list.asts, count)
end
end
@@ -965,7 +965,7 @@ def neg
(negative.elements) ? -1 : 1
end
def ast
- Ast.num(value)
+ NumberNode.new(value)
end
end
@@ -1054,7 +1054,7 @@ def value
statistic.text_value.downcase
end
def ast
- Ast.stat(value)
+ StatNode.new(value)
end
end

0 comments on commit d2eadaa

Please sign in to comment.