Class: Treetop::Runtime::SyntaxNode

Inherits:
Object
  • Object
show all
Defined in:
lib/marker/common.rb

Overview

:nodoc:

Direct Known Subclasses

Marker::ParseNode

Instance Method Summary collapse

Instance Method Details

#present?Boolean

returns whether the ParseNode matched any text

Returns:

  • (Boolean)


13
14
15
# File 'lib/marker/common.rb', line 13

def present?
  not text_value.empty?
end