Class: Code::Parser::Power

Inherits:
RightOperation show all
Defined in:
lib/code/parser/power.rb

Instance Method Summary collapse

Methods inherited from RightOperation

#root, #whitespace, #whitespace?

Instance Method Details

#asteriskObject



10
11
12
# File 'lib/code/parser/power.rb', line 10

def asterisk
  str("*")
end

#operatorObject



14
15
16
# File 'lib/code/parser/power.rb', line 14

def operator
  asterisk << asterisk
end

#statementObject



6
7
8
# File 'lib/code/parser/power.rb', line 6

def statement
  Function
end