Class: Twig::TokenParser::Base
- Inherits:
-
Object
- Object
- Twig::TokenParser::Base
show all
- Defined in:
- lib/twig/token_parser/base.rb
Direct Known Subclasses
Apply, AutoEscape, Block, Cache, Deprecated, Do, Extends, For, From, Guard, If, Import, Include, Macro, Set, Use, With, Yield
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
7
8
9
|
# File 'lib/twig/token_parser/base.rb', line 7
def parser
@parser
end
|
Instance Method Details
#parse(token) ⇒ Object
10
11
12
|
# File 'lib/twig/token_parser/base.rb', line 10
def parse(token)
raise 'parse is not implemented'
end
|
#tag ⇒ String
15
16
17
|
# File 'lib/twig/token_parser/base.rb', line 15
def tag
raise 'tag is not implemented'
end
|