Class: Code::Parser::ChainedCall
- Inherits:
-
LeftOperation
- Object
- Language
- LeftOperation
- Code::Parser::ChainedCall
- Defined in:
- lib/code/parser/chained_call.rb
Instance Method Summary collapse
- #ampersand ⇒ Object
- #colon ⇒ Object
- #dot ⇒ Object
- #operator ⇒ Object
- #statement ⇒ Object
- #whitespace ⇒ Object
- #whitespace? ⇒ Boolean
Methods inherited from LeftOperation
Instance Method Details
#ampersand ⇒ Object
22 23 24 |
# File 'lib/code/parser/chained_call.rb', line 22 def ampersand str("&") end |
#colon ⇒ Object
26 27 28 |
# File 'lib/code/parser/chained_call.rb', line 26 def colon str(":") end |
#dot ⇒ Object
18 19 20 |
# File 'lib/code/parser/chained_call.rb', line 18 def dot str(".") end |
#operator ⇒ Object
30 31 32 |
# File 'lib/code/parser/chained_call.rb', line 30 def operator dot | (colon << colon) | (ampersand << dot) end |
#statement ⇒ Object
6 7 8 |
# File 'lib/code/parser/chained_call.rb', line 6 def statement SquareBracket end |
#whitespace ⇒ Object
10 11 12 |
# File 'lib/code/parser/chained_call.rb', line 10 def whitespace Whitespace end |
#whitespace? ⇒ Boolean
14 15 16 |
# File 'lib/code/parser/chained_call.rb', line 14 def whitespace? whitespace.maybe end |