private abstract class ConfigurationFile.ParseNode extends Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
lineno |
(package private) int |
override |
Constructor and Description |
---|
ConfigurationFile.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 Class |
resolve(ConfigurationFile.Entry inEntry)
Calculates and returns the declared type of the parse node, as
referred to by the specified entry.
|
abstract Class resolve(ConfigurationFile.Entry inEntry) throws ConfigurationException
ConfigurationException
abstract boolean isConstant() throws ConfigurationException
ConfigurationException
abstract Object eval(Object data) throws ConfigurationException
ConfigurationException
void oops(String what) throws ConfigurationException
ConfigurationException
void oops(String what, int lineno) throws ConfigurationException
ConfigurationException
void oops(String what, Throwable t) throws ConfigurationException
ConfigurationException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.