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.
200 201 202 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 200 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.
184 185 186 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 184 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.
192 193 194 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 192 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.
208 209 210 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 208 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.
176 177 178 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 176 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.
224 225 226 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 224 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.
168 169 170 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 168 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.
216 217 218 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 216 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.
160 161 162 |
# File 'lib/jaina/parser/expression/operator/abstract/dsl.rb', line 160 def token self.class.token end |