Class: Rley::RGN::RawRule
- Inherits:
-
Struct
- Object
- Struct
- Rley::RGN::RawRule
- Defined in:
- lib/rley/rgn/grammar_builder.rb
Overview
Structure used by Rley to generate implicdit production rules.
Instance Attribute Summary collapse
-
#constraints ⇒ Object
Returns the value of attribute constraints.
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#rhs ⇒ Object
Returns the value of attribute rhs.
-
#simple ⇒ Object
Returns the value of attribute simple.
-
#tag ⇒ Object
Returns the value of attribute tag.
Instance Attribute Details
#constraints ⇒ Object
Returns the value of attribute constraints
13 14 15 |
# File 'lib/rley/rgn/grammar_builder.rb', line 13 def constraints @constraints end |
#lhs ⇒ Object
Returns the value of attribute lhs
13 14 15 |
# File 'lib/rley/rgn/grammar_builder.rb', line 13 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs
13 14 15 |
# File 'lib/rley/rgn/grammar_builder.rb', line 13 def rhs @rhs end |
#simple ⇒ Object
Returns the value of attribute simple
13 14 15 |
# File 'lib/rley/rgn/grammar_builder.rb', line 13 def simple @simple end |
#tag ⇒ Object
Returns the value of attribute tag
13 14 15 |
# File 'lib/rley/rgn/grammar_builder.rb', line 13 def tag @tag end |