Class: Liquid2::StaticAnalysis::Result
- Inherits:
-
Object
- Object
- Liquid2::StaticAnalysis::Result
- Defined in:
- lib/liquid2/static_analysis.rb
Overview
The result of analyzing a template.
Instance Attribute Summary collapse
-
#filters ⇒ Object
readonly
Returns the value of attribute filters.
-
#globals ⇒ Object
readonly
Returns the value of attribute globals.
-
#locals ⇒ Object
readonly
Returns the value of attribute locals.
-
#tags ⇒ Object
readonly
Returns the value of attribute tags.
-
#variables ⇒ Object
readonly
Returns the value of attribute variables.
Instance Method Summary collapse
-
#initialize(variables, globals, locals, filters, tags) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(variables, globals, locals, filters, tags) ⇒ Result
Returns a new instance of Result.
144 145 146 147 148 149 150 |
# File 'lib/liquid2/static_analysis.rb', line 144 def initialize(variables, globals, locals, filters, ) @variables = variables @globals = globals @locals = locals @filters = filters @tags = end |
Instance Attribute Details
#filters ⇒ Object (readonly)
Returns the value of attribute filters.
142 143 144 |
# File 'lib/liquid2/static_analysis.rb', line 142 def filters @filters end |
#globals ⇒ Object (readonly)
Returns the value of attribute globals.
142 143 144 |
# File 'lib/liquid2/static_analysis.rb', line 142 def globals @globals end |
#locals ⇒ Object (readonly)
Returns the value of attribute locals.
142 143 144 |
# File 'lib/liquid2/static_analysis.rb', line 142 def locals @locals end |
#tags ⇒ Object (readonly)
Returns the value of attribute tags.
142 143 144 |
# File 'lib/liquid2/static_analysis.rb', line 142 def @tags end |
#variables ⇒ Object (readonly)
Returns the value of attribute variables.
142 143 144 |
# File 'lib/liquid2/static_analysis.rb', line 142 def variables @variables end |