Class: Faml::Ast::SilentScript

Inherits:
Struct
  • Object
show all
Includes:
HasChildren
Defined in:
lib/faml/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from HasChildren

#<<

Constructor Details

#initializeSilentScript



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

#childrenObject

Returns the value of attribute children



72
73
74
# File 'lib/faml/ast.rb', line 72

def children
  @children
end

#filenameObject

Returns the value of attribute filename



72
73
74
# File 'lib/faml/ast.rb', line 72

def filename
  @filename
end

#linenoObject

Returns the value of attribute lineno



72
73
74
# File 'lib/faml/ast.rb', line 72

def lineno
  @lineno
end

#mid_block_keywordObject

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

#scriptObject

Returns the value of attribute script



72
73
74
# File 'lib/faml/ast.rb', line 72

def script
  @script
end