Class: Faml::Ast::Filter

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFilter

Returns a new instance of Filter.



107
108
109
110
# File 'lib/faml/ast.rb', line 107

def initialize(*)
  super
  self.texts ||= []
end

Instance Attribute Details

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



106
107
108
# File 'lib/faml/ast.rb', line 106

def filename
  @filename
end

#linenoObject

Returns the value of attribute lineno

Returns:

  • (Object)

    the current value of lineno



106
107
108
# File 'lib/faml/ast.rb', line 106

def lineno
  @lineno
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



106
107
108
# File 'lib/faml/ast.rb', line 106

def name
  @name
end

#textsObject

Returns the value of attribute texts

Returns:

  • (Object)

    the current value of texts



106
107
108
# File 'lib/faml/ast.rb', line 106

def texts
  @texts
end