Class: Faml::Ast::SilentScript
- Inherits:
-
Struct
- Object
- Struct
- Faml::Ast::SilentScript
- Includes:
- HasChildren
- Defined in:
- lib/faml/ast.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#lineno ⇒ Object
Returns the value of attribute lineno.
-
#mid_block_keyword ⇒ Object
Returns the value of attribute mid_block_keyword.
-
#script ⇒ Object
Returns the value of attribute script.
Instance Method Summary collapse
-
#initialize ⇒ SilentScript
constructor
A new instance of SilentScript.
Methods included from HasChildren
Constructor Details
#initialize ⇒ SilentScript
75 76 77 78 79 80 |
# File 'lib/faml/ast.rb', line 75 def initialize(*) super if self.mid_block_keyword.nil? self.mid_block_keyword = false end end |
Instance Attribute Details
#children ⇒ Object
Returns the value of attribute children
72 73 74 |
# File 'lib/faml/ast.rb', line 72 def children @children end |
#filename ⇒ Object
Returns the value of attribute filename
72 73 74 |
# File 'lib/faml/ast.rb', line 72 def filename @filename end |
#lineno ⇒ Object
Returns the value of attribute lineno
72 73 74 |
# File 'lib/faml/ast.rb', line 72 def lineno @lineno end |
#mid_block_keyword ⇒ Object
Returns the value of attribute mid_block_keyword
72 73 74 |
# File 'lib/faml/ast.rb', line 72 def mid_block_keyword @mid_block_keyword end |
#script ⇒ Object
Returns the value of attribute script
72 73 74 |
# File 'lib/faml/ast.rb', line 72 def script @script end |