Class: Keisan::AST::BitwiseXor
Instance Attribute Summary
Attributes inherited from Parent
#children
Class Method Summary
collapse
Instance Method Summary
collapse
#associativity
Methods inherited from Operator
#associativity, #initialize, #value
Methods inherited from Parent
#initialize
Methods inherited from Node
#value
Class Method Details
.priority ⇒ Object
4
5
6
|
# File 'lib/keisan/ast/bitwise_xor.rb', line 4
def self.priority
21
end
|
Instance Method Details
#arity ⇒ Object
8
9
10
|
# File 'lib/keisan/ast/bitwise_xor.rb', line 8
def arity
2..Float::INFINITY
end
|
#blank_value ⇒ Object
16
17
18
|
# File 'lib/keisan/ast/bitwise_xor.rb', line 16
def blank_value
0
end
|
#symbol ⇒ Object
12
13
14
|
# File 'lib/keisan/ast/bitwise_xor.rb', line 12
def symbol
:"^"
end
|