Module: RDParser::ParseMatcher::InstanceMethods

Defined in:
lib/rdparser/parse_matcher.rb

Instance Method Summary collapse

Instance Method Details

#error_on_position(position) ⇒ Object Also known as: first_error_on_position



51
52
53
# File 'lib/rdparser/parse_matcher.rb', line 51

def error_on_position position
  position
end

#parse(expression, root = :expression) ⇒ Object



47
48
49
# File 'lib/rdparser/parse_matcher.rb', line 47

def parse expression, root=:expression
  RDParser::ParseMatcher::Parse.new expression, root
end