Class: Opencdd::Cddal::AST::PropertyAssignment
- Inherits:
-
Struct
- Object
- Struct
- Opencdd::Cddal::AST::PropertyAssignment
- Defined in:
- lib/opencdd/cddal/ast.rb
Instance Attribute Summary collapse
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#language_tag ⇒ Object
Returns the value of attribute language_tag.
-
#line ⇒ Object
Returns the value of attribute line.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#identifier ⇒ Object
Returns the value of attribute identifier
79 80 81 |
# File 'lib/opencdd/cddal/ast.rb', line 79 def identifier @identifier end |
#language_tag ⇒ Object
Returns the value of attribute language_tag
79 80 81 |
# File 'lib/opencdd/cddal/ast.rb', line 79 def language_tag @language_tag end |
#line ⇒ Object
Returns the value of attribute line
79 80 81 |
# File 'lib/opencdd/cddal/ast.rb', line 79 def line @line end |
#value ⇒ Object
Returns the value of attribute value
79 80 81 |
# File 'lib/opencdd/cddal/ast.rb', line 79 def value @value end |
Instance Method Details
#resolved_key ⇒ Object
80 81 82 |
# File 'lib/opencdd/cddal/ast.rb', line 80 def resolved_key language_tag ? "#{identifier}.#{language_tag}" : identifier end |