private class ConfigurationFile.Literal extends ConfigurationFile.ParseNode
Modifier and Type | Field and Description |
---|---|
private Class |
type |
private Object |
value |
lineno, override
Constructor and Description |
---|
Literal(Class type,
Object value,
int lineno) |
Modifier and Type | Method and Description |
---|---|
(package private) Object |
eval(Object data)
Returns the result of evaluating the parse node with the specified
data provided by the call to getEntry.
|
(package private) boolean |
isConstant()
Returns true if the value is a constant.
|
(package private) Class |
resolve(ConfigurationFile.Entry inEntry)
Calculates and returns the declared type of the parse node, as
referred to by the specified entry.
|
oops, oops, oops
Class resolve(ConfigurationFile.Entry inEntry)
ConfigurationFile.ParseNode
resolve
in class ConfigurationFile.ParseNode
boolean isConstant()
ConfigurationFile.ParseNode
isConstant
in class ConfigurationFile.ParseNode
Object eval(Object data)
ConfigurationFile.ParseNode
eval
in class ConfigurationFile.ParseNode
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.