| Package | Description |
|---|---|
| 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.exceptions |
Exceptions that can be generated at various stages in the machine profile
processing.
|
| org.quattor.pan.parser |
Provides classes for the implementation of the pan language parser.
|
| 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.
|
| org.quattor.pan.utils |
Provides collection of useful utilities that don't fit neatly into other
pan packages.
|
| Modifier and Type | Method and Description |
|---|---|
protected Term[] |
AbstractOperation.calculateTerms(Context context)
A utility method that creates a list of terms from the given arguments.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LongProperty
Represents a long value.
|
class |
StringProperty
Represents a string value.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Term> |
ProtectedHashResource.keySet() |
Set<Term> |
HashResource.keySet() |
| Modifier and Type | Method and Description |
|---|---|
int |
LongProperty.compareTo(Term o) |
int |
StringProperty.compareTo(Term o) |
Element |
ProtectedHashResource.get(Term key) |
Element |
ProtectedListResource.get(Term key) |
Element |
ListResource.get(Term term) |
abstract Element |
Resource.get(Term term)
Retrieve the Element associated with the given Term (either an index or
string key).
|
Element |
HashResource.get(Term term) |
Element |
ProtectedHashResource.put(Term key,
Element newValue) |
Element |
ProtectedListResource.put(Term key,
Element newValue) |
Element |
ListResource.put(Term term,
Element value) |
abstract Element |
Resource.put(Term term,
Element newValue)
Define the mapping between the given Term and given Element.
|
Element |
HashResource.put(Term term,
Element newValue) |
Element |
Resource.rget(Term[] terms,
int index,
boolean protect,
boolean lookupOnly) |
Element |
Element.rget(Term[] terms,
int index,
boolean protect,
boolean lookupOnly)
Dereference the Element to return the value of a child.
|
ListResource |
Resource.rgetList(Term[] terms,
int index) |
ListResource |
Element.rgetList(Term[] terms,
int index)
This is a special lookup function that will retrieve a list from the
resource.
|
void |
ProtectedHashResource.rput(Term[] terms,
int index,
Element value) |
void |
ProtectedListResource.rput(Term[] terms,
int index,
Element value) |
void |
Resource.rput(Term[] terms,
int index,
Element value) |
void |
Element.rput(Term[] terms,
int index,
Element value)
Add the given child to this resource, creating intermediate resources as
necessary.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationException |
ValidationException.addTerm(Term term) |
String |
InvalidTermException.formatVariableMessage(String name,
Term[] terms) |
InvalidTermException |
InvalidTermException.setInfo(Term[] terms,
int index,
String actualType) |
| Modifier and Type | Method and Description |
|---|---|
InvalidTermException |
InvalidTermException.setVariableInfo(List<Term> terms,
int index,
String actualType) |
| Modifier and Type | Method and Description |
|---|---|
Term |
ASTFieldSpec.getKey() |
| Modifier and Type | Method and Description |
|---|---|
Element |
CompileTimeContext.dereferenceVariable(String name,
boolean lookupOnly,
Term[] terms)
Return the Element which corresponds to the given variable name.
|
Element |
BuildContext.dereferenceVariable(String name,
boolean lookupOnly,
Term[] terms)
Return the Element which corresponds to the given variable name.
|
Element |
Context.dereferenceVariable(String name,
boolean lookupOnly,
Term[] terms)
Return the Element which corresponds to the given variable name.
|
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.
|
| Constructor and Description |
|---|
RecordType(String source,
SourceRange sourceRange,
boolean extensible,
Range range,
List<String> includes,
SortedMap<Term,FullType> reqFields,
SortedMap<Term,FullType> optFields) |
RecordType(String source,
SourceRange sourceRange,
boolean extensible,
Range range,
List<String> includes,
SortedMap<Term,FullType> reqFields,
SortedMap<Term,FullType> optFields) |
| Modifier and Type | Method and Description |
|---|---|
static Term |
TermFactory.create(Element element)
Create a term from a given element.
|
static Term |
TermFactory.create(long index)
Create a term directly from a long index.
|
static Term |
TermFactory.create(String term)
Constructor of a path from a String.
|
Term[] |
Path.getTerms()
Get the list of terms in this path.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
TermFactory.compare(Term self,
Term other)
A utility method to allow the comparison of any two terms.
|
| Constructor and Description |
|---|
Path(Path root,
Term[] terms)
Constructor which will create a new Path from the concatenation of two
existing paths.
|
Copyright © 2014 Quattor. All Rights Reserved.