Exception: YTools::Path::ParseError
- Inherits:
-
Exception
- Object
- Exception
- YTools::Path::ParseError
- Defined in:
- lib/ytools/path/parser.rb
Overview
Yaml Path Spec:
yaml_path: child_selector (child_selector)* <-- '/' path_node is a root | path_node (child_selector)* ;
child_selector: '/' path_node | '//' path_node ;
path_node: PATH_PART index? | NUMBER index? ;
index: LBRACE NUMBER RBRACE ;
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
Instance Method Summary collapse
-
#initialize(message, token) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(message, token) ⇒ ParseError
35 36 37 38 |
# File 'lib/ytools/path/parser.rb', line 35 def initialize(, token) super() @token = token end |
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token.
33 34 35 |
# File 'lib/ytools/path/parser.rb', line 33 def token @token end |