Class: Opal::Keywords::KeywordTable
- Defined in:
- opal/lib/opal/parser/keywords.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(name, id, state) ⇒ KeywordTable
constructor
A new instance of KeywordTable.
Constructor Details
#initialize(name, id, state) ⇒ KeywordTable
Returns a new instance of KeywordTable
7 8 9 10 11 |
# File 'opal/lib/opal/parser/keywords.rb', line 7 def initialize(name, id, state) @name = name @id = id @state = state end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
5 6 7 |
# File 'opal/lib/opal/parser/keywords.rb', line 5 def id @id end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'opal/lib/opal/parser/keywords.rb', line 5 def name @name end |
#state ⇒ Object
Returns the value of attribute state
5 6 7 |
# File 'opal/lib/opal/parser/keywords.rb', line 5 def state @state end |