Class: PlatformosCheck::LanguageServer::VariableLookupFinder::TolerantParser::BlockBody

Inherits:
Liquid::BlockBody
  • Object
show all
Defined in:
lib/platformos_check/language_server/variable_lookup_finder/tolerant_parser.rb

Instance Method Summary collapse

Instance Method Details

#registered_tagsObject

The tags are statically defined and referenced at the ‘Liquid::Template’, so the TolerantParser just uses the redefined tags at this custom block body. Thus, there’s no side-effects between the regular and the tolerant parsers.



37
38
39
# File 'lib/platformos_check/language_server/variable_lookup_finder/tolerant_parser.rb', line 37

def registered_tags
  Tags.new(super)
end