Class: Rulex::Tex::Grammar::LatexContent
- Inherits:
-
CustomNode
- Object
- Treetop::Runtime::SyntaxNode
- CustomNode
- Rulex::Tex::Grammar::LatexContent
- Defined in:
- lib/rulex/tex/node_extensions.rb
Instance Method Summary collapse
Instance Method Details
#content ⇒ Object
41 42 43 44 |
# File 'lib/rulex/tex/node_extensions.rb', line 41 def content #elements.map{|e| e.node_content} if elements && !elements.empty? {type: :node} end |