Class: Canopus::Language::Definition
- Inherits:
-
Data
- Object
- Data
- Canopus::Language::Definition
- Defined in:
- lib/canopus/language/definition.rb,
sig/canopus.rbs
Instance Attribute Summary collapse
-
#comment ⇒ Object
readonly
Returns the value of attribute comment.
-
#extensions ⇒ Object
readonly
Returns the value of attribute extensions.
-
#indent_close ⇒ Object
readonly
Returns the value of attribute indent_close.
-
#indent_open ⇒ Object
readonly
Returns the value of attribute indent_open.
-
#lexer ⇒ Object
readonly
Returns the value of attribute lexer.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#servers ⇒ Object
readonly
Returns the value of attribute servers.
Class Method Summary collapse
Instance Attribute Details
#comment ⇒ Object (readonly)
Returns the value of attribute comment
5 6 7 |
# File 'lib/canopus/language/definition.rb', line 5 def comment @comment end |
#extensions ⇒ Object (readonly)
Returns the value of attribute extensions
5 6 7 |
# File 'lib/canopus/language/definition.rb', line 5 def extensions @extensions end |
#indent_close ⇒ Object (readonly)
Returns the value of attribute indent_close
5 6 7 |
# File 'lib/canopus/language/definition.rb', line 5 def indent_close @indent_close end |
#indent_open ⇒ Object (readonly)
Returns the value of attribute indent_open
5 6 7 |
# File 'lib/canopus/language/definition.rb', line 5 def indent_open @indent_open end |
#lexer ⇒ Object (readonly)
Returns the value of attribute lexer
5 6 7 |
# File 'lib/canopus/language/definition.rb', line 5 def lexer @lexer end |
#name ⇒ Object (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/canopus/language/definition.rb', line 5 def name @name end |
#servers ⇒ Object (readonly)
Returns the value of attribute servers
5 6 7 |
# File 'lib/canopus/language/definition.rb', line 5 def servers @servers end |
Class Method Details
.new ⇒ instance
251 |
# File 'sig/canopus.rbs', line 251
def self.new: (String name, String lexer, Array[String] extensions, String comment, Regexp indent_open, Regexp indent_close, Array[Array[String]] servers) -> instance
|