| Package | Description |
|---|---|
| org.quattor.pan.cache | |
| org.quattor.pan.dml |
Provides high-level interface and abstract classes for DML (data manipulation language) processing.
|
| org.quattor.pan.dml.data |
Provides data elements for the Data Manipulation Language (DML).
|
| org.quattor.pan.dml.functions |
Includes classes that implement all of the pan language build-in functions.
|
| org.quattor.pan.exceptions |
Exceptions that can be generated at various stages in the machine profile
processing.
|
| org.quattor.pan.statement |
Provides classes that implement the core declarative statements of the
pan language.
|
| org.quattor.pan.template |
Contains the classes that define the java implementation a pan template
or classes related to them.
|
| org.quattor.pan.type |
Implements the pan type system.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BuildCache.setDependency(String objectName,
String dependencyName)
This method will set the given dependency in the map which holds them.
|
| Modifier and Type | Method and Description |
|---|---|
protected Element[] |
AbstractOperation.calculateArgs(Context context)
A utility method which calls
execute on each of this
operation's arguments and returns an array of the results. |
protected Term[] |
AbstractOperation.calculateTerms(Context context)
A utility method that creates a list of terms from the given arguments.
|
abstract Element |
AbstractOperation.execute(Context context) |
Element |
Operation.execute(Context context)
Execute this operation within the given context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Undef.checkValidReplacement(Element newValue) |
void |
Null.checkValidReplacement(Element newValue) |
void |
ListResource.checkValidReplacement(Element newValue) |
void |
HashResource.checkValidReplacement(Element newValue) |
void |
Element.checkValidReplacement(Element newValue)
Check that the newValue is a valid replacement for the this value.
|
Element |
Element.execute(Context context)
All Elements are Operations and can be executed, but each just returns a
reference to itself.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Create.executeWithNamedStructureTemplate(Context context,
String name) |
| Modifier and Type | Method and Description |
|---|---|
EvaluationException |
EvaluationException.addExceptionInfo(SourceRange sourceRange,
Context context) |
EvaluationException |
EvaluationException.addExceptionInfo(SourceRange sourceRange,
File file,
String traceback) |
static EvaluationException |
EvaluationException.create(SourceRange sourceRange,
Context context,
String msgkey,
Object... args) |
static EvaluationException |
EvaluationException.create(SourceRange sourceRange,
EvaluationException ee) |
static EvaluationException |
EvaluationException.create(SourceRange sourceRange,
File file,
String msgkey,
Object... args) |
static EvaluationException |
EvaluationException.create(SourceRange sourceRange,
String msgkey,
Object... args) |
static EvaluationException |
EvaluationException.create(String msgkey,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
static EvaluationException |
EvaluationException.create(SourceRange sourceRange,
EvaluationException ee) |
static SyntaxException |
SyntaxException.create(SourceRange sourceRange,
EvaluationException ee) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeleteAssignmentStatement.execute(Context context) |
void |
AbsoluteAssignmentStatement.execute(Context context) |
void |
ConstantAssignmentStatement.execute(Context context) |
abstract void |
Statement.execute(Context context)
Execute this Statement within the given context.
|
void |
RelativeAssignmentStatement.execute(Context context) |
protected void |
IncludeStatement.executeWithNamedTemplate(Context context,
String name)
This is a utility method which performs an include from a fixed template
name.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
CompileTimeContext.getElement(Path path)
Pull the value of an element from a configuration tree.
|
Element |
BuildContext.getElement(Path path)
Pull the value of an element from a configuration tree.
|
Element |
Context.getElement(Path path)
Pull the value of an element from a configuration tree.
|
Element |
CompileTimeContext.getElement(Path path,
boolean errorIfNotFound)
Pull the value of an element from a configuration tree.
|
Element |
BuildContext.getElement(Path path,
boolean errorIfNotFound)
Pull the value of an element from a configuration tree.
|
Element |
Context.getElement(Path path,
boolean errorIfNotFound)
Pull the value of an element from a configuration tree.
|
void |
TypeMap.put(String name,
FullType fullType,
Template template,
SourceRange sourceRange)
Associate the given type with the given name within this ObjectContext.
|
void |
FunctionMap.put(String name,
Operation function,
Template template,
SourceRange sourceRange)
Define the given DML block as a function with the given name in this
context.
|
void |
CompileTimeContext.setFullType(String name,
FullType fullType,
Template template,
SourceRange sourceRange)
Associate the given type with the given name within this ObjectContext.
|
void |
BuildContext.setFullType(String name,
FullType fullType,
Template template,
SourceRange sourceRange)
Associate the given type with the given name within this ObjectContext.
|
void |
Context.setFullType(String name,
FullType fullType,
Template template,
SourceRange sourceRange)
Associate the given type with the given name within this ObjectContext.
|
void |
CompileTimeContext.setFunction(String name,
Operation function,
Template template,
SourceRange sourceRange)
Define the given DML block as a function with the given name in this
context.
|
void |
BuildContext.setFunction(String name,
Operation function,
Template template,
SourceRange sourceRange)
Define the given DML block as a function with the given name in this
context.
|
void |
Context.setFunction(String name,
Operation function,
Template template,
SourceRange sourceRange)
Define the given DML block as a function with the given name in this
context.
|
void |
CompileTimeContext.setLocalVariable(String name,
Element value)
Set the local variable to the given value.
|
void |
BuildContext.setLocalVariable(String name,
Element value)
Set the local variable to the given value.
|
void |
Context.setLocalVariable(String name,
Element value)
Set the local variable to the given value.
|
void |
CompileTimeContext.setLocalVariable(String name,
Term[] terms,
Element value)
Set the local variable to the given value.
|
void |
BuildContext.setLocalVariable(String name,
Term[] terms,
Element value)
Set the local variable to the given value.
|
void |
Context.setLocalVariable(String name,
Term[] terms,
Element value)
Set the local variable to the given value.
|
| Modifier and Type | Method and Description |
|---|---|
Element |
RecordType.findDefault(Context context) |
Element |
LinkType.setDefaults(Context context,
Element self) |
Element |
AliasType.setDefaults(Context context,
Element self) |
Element |
HashType.setDefaults(Context context,
Element self) |
Element |
PrimitiveType.setDefaults(Context context,
Element self) |
Element |
ListType.setDefaults(Context context,
Element self) |
Element |
RecordType.setDefaults(Context context,
Element self) |
abstract Element |
Type.setDefaults(Context context,
Element self)
This method will recursively set the default values on the given element.
|
Element |
FullType.setDefaults(Context context,
Element self)
This will call the setDefaults method of the base type with the given
argument.
|
abstract void |
Type.verifySubtypesDefined(TypeMap types)
This method verifies that all of the types referenced from this type are
already defined within the given context.
|
Copyright © 2014 Quattor. All Rights Reserved.