Module: Jaina::Parser::Expression::Operator::Abstract::DSL::InstanceMethods Private
- Defined in:
- lib/jaina/parser/expression/operator/abstract/dsl.rb,
lib/jaina/parser/expression/operator/grouping/dsl.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #acts_as_binary_term? ⇒ Boolean private
- #acts_as_group_closener? ⇒ Boolean private
- #acts_as_group_opener? ⇒ Boolean private
- #acts_as_unary_term? ⇒ Boolean private
- #associativity_direction ⇒ Symbol, NilClass private
- #non_terminal? ⇒ Boolean private
- #precedence_level ⇒ Integer, NilClass private
- #terminal? ⇒ Boolean private
- #token ⇒ String, NilClass private
Instance Method Details
#acts_as_binary_term? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
228 229 230 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 228 def acts_as_binary_term? self.class.acts_as_binary_term? end |
#acts_as_group_closener? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
212 213 214 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 212 def acts_as_group_closener? self.class.acts_as_group_closener? end |
#acts_as_group_opener? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
220 221 222 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 220 def acts_as_group_opener? self.class.acts_as_group_opener? end |
#acts_as_unary_term? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
236 237 238 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 236 def acts_as_unary_term? self.class.acts_as_unary_term? end |
#associativity_direction ⇒ Symbol, NilClass
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
204 205 206 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 204 def associativity_direction self.class.associativity_direction end |
#non_terminal? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
252 253 254 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 252 def non_terminal? self.class.non_terminal? end |
#precedence_level ⇒ Integer, NilClass
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
196 197 198 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 196 def precedence_level self.class.precedence_level end |
#terminal? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
244 245 246 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 244 def terminal? self.class.terminal? end |
#token ⇒ String, NilClass
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
188 189 190 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 188 def token self.class.token end |