Method: Dendroid::Recognizer::EItem#origin

Defined in:
lib/dendroid/recognizer/e_item.rb

#originInteger (readonly)

Returns the rank of the token that correspond to the start of the rule.

Returns:

  • (Integer)

    the rank of the token that correspond to the start of the rule.



19
20
21
# File 'lib/dendroid/recognizer/e_item.rb', line 19

def origin
  @origin
end