Class: Code::Parser::BitwiseAnd

Inherits:
LeftOperation show all
Defined in:
lib/code/parser/bitwise_and.rb

Instance Method Summary collapse

Methods inherited from LeftOperation

#right_statement, #root, #whitespace

Instance Method Details

#ampersandObject



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

def ampersand
  str("&")
end

#operatorObject



18
19
20
# File 'lib/code/parser/bitwise_and.rb', line 18

def operator
  ampersand
end

#statementObject



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

def statement
  Shift
end

#whitespace?Boolean

Returns:



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

def whitespace?
  whitespace
end