private abstract class ConfigurationFile.ParseNode extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
lineno |
(package private) int |
override |
| Constructor and Description |
|---|
ParseNode(int lineno) |
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract Object |
eval(Object data)
Returns the result of evaluating the parse node with the specified
data provided by the call to getEntry.
|
(package private) abstract boolean |
isConstant()
Returns true if the value is a constant.
|
(package private) void |
oops(String what)
Throws a ConfigurationException for the an error described by the
what argument, using the line number and override for this parse
node.
|
(package private) void |
oops(String what,
int lineno)
Throws a ConfigurationException for the an error described by the
what argument, at the specified line number, with the override for
this parse node.
|
(package private) void |
oops(String what,
Throwable t)
Throws a ConfigurationException for the an error described by the
what argument, using the line number and override for this parse
node, and caused by the specified exception, which may be null.
|
(package private) abstract <T> Class<T> |
resolve(ConfigurationFile.Entry inEntry)
Calculates and returns the declared type of the parse node, as
referred to by the specified entry.
|
abstract <T> Class<T> resolve(ConfigurationFile.Entry inEntry) throws ConfigurationException
ConfigurationExceptionabstract boolean isConstant()
throws ConfigurationException
ConfigurationExceptionabstract Object eval(Object data) throws ConfigurationException
ConfigurationExceptionvoid oops(String what) throws ConfigurationException
ConfigurationExceptionvoid oops(String what, int lineno) throws ConfigurationException
ConfigurationExceptionvoid oops(String what, Throwable t) throws ConfigurationException
ConfigurationExceptionCopyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.