Package edu.uky.ai.io
Interface ObjectParser<E>
- Type Parameters:
E
- the kind of object this parser constructs
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An object parser provides a means of translating a node into an object of
a specific kind.
- Author:
- Stephen G. Ware
-
Method Summary
-
Method Details
-
parse
Converts the given node into an object of type E.- Parameters:
node
- the node to parseparser
- the parser from which this parser was called (in case other nodes need to be parsed)- Returns:
- an object of type E
-