| Package | Description |
|---|---|
| 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 |
|---|---|
ValidationException |
ValidationException.addTypeToStack(String name,
FullType type) |
ValidationException |
ValidationException.setPathTypeAndObject(Path path,
FullType type,
File objectTemplate) |
| Modifier and Type | Method and Description |
|---|---|
static BindStatement |
BindStatement.getInstance(SourceRange sourceRange,
String pathname,
FullType fullType) |
| Constructor and Description |
|---|
DynamicBindStatement(SourceRange sourceRange,
String pathname,
FullType fullType)
This constructor creates a new BindStatement which associates a FullType to a particular, absolute path.
|
StaticBindStatement(SourceRange sourceRange,
Path path,
FullType fullType)
This constructor creates a new BindStatement which associates a FullType to a particular, absolute path.
|
TypeStatement(SourceRange sourceRange,
String name,
FullType fullType)
Creates a TypeStatement which associates a name to a FullType.
|
| Modifier and Type | Method and Description |
|---|---|
FullType |
TypeMap.get(String name)
Return the type associated with the given name or null if it doesn't
exist.
|
FullType |
CompileTimeContext.getFullType(String name)
Return the type associated with the given name or null if it doesn't
exist.
|
FullType |
BuildContext.getFullType(String name)
Return the type associated with the given name or null if it doesn't
exist.
|
FullType |
Context.getFullType(String name)
Return the type associated with the given name or null if it doesn't
exist.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Path,List<FullType>> |
CompileTimeContext.getBindings()
This method returns an unmodifiable, ordered map of the type bindings.
|
Map<Path,List<FullType>> |
BuildContext.getBindings()
This method returns an unmodifiable, ordered map of the type bindings.
|
Map<Path,List<FullType>> |
Context.getBindings()
This method returns an unmodifiable, ordered map of the type bindings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TypeMap.put(String name,
FullType fullType,
Template template,
SourceRange sourceRange)
Associate the given type with the given name within this ObjectContext.
|
void |
CompileTimeContext.setBinding(Path path,
FullType fullType,
Template template,
SourceRange sourceRange)
This method associates a type definition to a path.
|
void |
BuildContext.setBinding(Path path,
FullType fullType,
Template template,
SourceRange sourceRange)
This method associates a type definition to a path.
|
void |
Context.setBinding(Path path,
FullType fullType,
Template template,
SourceRange sourceRange)
This method associates a type definition to a path.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,FullType> |
BaseType.getBuiltinTypes() |
| 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) |
Copyright © 2014 Quattor. All Rights Reserved.