public final class WithSource<T>
extends Object
Parsed result with the matched source text.
- Author:
- Stepan Koltsov
-
Constructor Summary
Constructors
-
Method Summary
boolean
Returns the underlying source text.
Returns the parsed result.
int
Returns the underlying source text.
-
Constructor Details
-
WithSource
public WithSource(T value,
String source)
-
Method Details
-
getValue
Returns the parsed result.
-
getSource
Returns the underlying source text. Never null.
-
toString
Returns the underlying source text.
- Overrides:
toString in class Object
-
-