| Package | Description |
|---|---|
| org.quattor.pan.dml |
Provides high-level interface and abstract classes for DML (data manipulation language) processing.
|
| org.quattor.pan.dml.functions |
Includes classes that implement all of the pan language build-in functions.
|
| org.quattor.pan.dml.operators |
Contains classes that implement all of the pan language operators.
|
| 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.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.
|
| org.quattor.pan.utils |
Provides collection of useful utilities that don't fit neatly into other
pan packages.
|
| Modifier and Type | Field and Description |
|---|---|
protected SourceRange |
AbstractOperation.sourceRange
Source location of this operation and its arguments.
|
| Modifier and Type | Method and Description |
|---|---|
SourceRange |
AbstractOperation.getSourceRange()
Retrieve the source information from this operation.
|
| Modifier and Type | Method and Description |
|---|---|
static Operation |
DML.getInstance(SourceRange sourceRange,
Operation... operations)
Factory method to create a new DML block, although this may return
another Operation because of optimization.
|
static DML |
DML.getUnoptimizedInstance(SourceRange sourceRange,
Operation... operations)
Factory method to create a new DML block, although this may return
another Operation because of optimization.
|
| Constructor and Description |
|---|
AbstractOperation(SourceRange sourceRange,
Operation... operations)
Set the source location information and arguments for this operation.
|
DML(SourceRange sourceRange,
Operation... operations)
Create new DML instance from variable list of arguments (as operations).
|
| Modifier and Type | Method and Description |
|---|---|
static Operation |
IsVariableOfType.getInstance(SourceRange sourceRange,
Class<? extends Element> type,
String name,
Operation... operations) |
static Operation |
IsOfType.getInstance(SourceRange sourceRange,
Class<? extends Element> type,
String name,
Operation... operations) |
static Operation |
IsValueOfType.getInstance(SourceRange sourceRange,
Class<? extends Element> type,
String name,
Operation... operations) |
static Operation |
ToBoolean.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Create.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsResource.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsHash.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
First.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
StaticMatch.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
TracebackSuppressed.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Key.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Matches.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
ToUpperCase.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Value.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
VariableExists.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IfExists.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Substr.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Merge.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
List.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Index.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Append.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsDefined.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Unescape.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Base64Encode.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Traceback.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Match.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
ErrorMessage.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Base64Decode.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsProperty.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
FileContents.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Digest.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
ToString.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsNull.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Return.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Next.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsNumber.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
DebugSuppressed.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Deprecated.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Prepend.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
ToLong.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsList.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Length.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
ToDouble.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
PathExists.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Replace.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsDouble.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
FileExists.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Debug.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsBoolean.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsLong.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
ToLowerCase.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Split.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Splice.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Format.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Escape.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
StaticMatches.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Substitute.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IpToLong.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
ToLongRadix.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Exists.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
StringExists.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
LongToIp.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Delete.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Hash.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
Clone.getInstance(SourceRange sourceRange,
Operation... operations) |
static Operation |
IsString.getInstance(SourceRange sourceRange,
Operation... operations) |
| Constructor and Description |
|---|
AbstractMatcher(String name,
SourceRange sourceRange,
Operation... operations) |
AbstractStaticMatcher(SourceRange sourceRange,
String functionName,
Operation... operations) |
AbstractVariableMatcher(SourceRange sourceRange,
String functionName,
Operation... operations) |
Append(SourceRange sourceRange,
Operation... operations) |
BuiltInFunction(String name,
SourceRange sourceRange,
Operation... operations) |
Exists(SourceRange sourceRange,
Operation... operations) |
Function(SourceRange sourceRange,
String name,
Operation... operations) |
IsOfType(String name,
SourceRange sourceRange,
Class<? extends Element> type,
Operation... operations) |
PathExists(SourceRange sourceRange,
Operation... operations) |
Prepend(SourceRange sourceRange,
Operation... operations) |
StringExists(SourceRange sourceRange,
Operation... operations) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
SetValue.checkStaticIndexes(SourceRange sourceRange,
Operation... operations) |
static Element |
Mod.execute(SourceRange sourceRange,
LongProperty a,
LongProperty b) |
static Variable |
Variable.getInstance(SourceRange sourceRange,
String identifier,
boolean lookupOnly,
Operation... operations) |
static ListVariable |
ListVariable.getInstance(SourceRange sourceRange,
String identifier,
Operation... operations) |
static Variable |
Variable.getInstance(SourceRange sourceRange,
String identifier,
Operation... operations) |
static SetValue |
SetValue.getInstance(SourceRange sourceRange,
String identifier,
Operation... operations) |
static Operation |
LogicalAnd.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
BitAnd.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
LogicalGE.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
LogicalNot.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
LogicalLE.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
LogicalGT.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
Mult.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
LogicalOr.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
UnaryPlus.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
IfElse.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
Add.newOperation(SourceRange sourceRange,
Operation... ops)
Factory class for creating a new Add operation.
|
static Operation |
LogicalNE.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
While.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
Div.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
BitIOR.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
LogicalEQ.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
BitXOR.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
UnaryMinus.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
LogicalLT.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
Mod.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
Sub.newOperation(SourceRange sourceRange,
Operation... ops) |
static Operation |
BitNot.newOperation(SourceRange sourceRange,
Operation... ops) |
| Constructor and Description |
|---|
Assign(SourceRange sourceRange,
Operation... operations) |
For(SourceRange sourceRange,
Operation... ops) |
Foreach(SourceRange sourceRange,
Operation... ops) |
ListVariable(SourceRange sourceRange,
String identifier,
Operation... operations) |
NestedListVariable(SourceRange sourceRange,
String identifier,
Operation... operations) |
NestedVariable(SourceRange sourceRange,
String identifier,
boolean lookupOnly,
Operation... operations) |
SelfNestedListVariable(SourceRange sourceRange,
Operation... operations) |
SelfNestedVariable(SourceRange sourceRange,
boolean lookupOnly,
Operation... operations) |
SelfSimpleListVariable(SourceRange sourceRange) |
SelfSimpleVariable(SourceRange sourceRange,
boolean lookupOnly) |
SetSelf(SourceRange sourceRange,
Operation... operations) |
SetValue(SourceRange sourceRange,
String identifier,
Operation... operations) |
SimpleListVariable(SourceRange sourceRange,
String identifier) |
SimpleVariable(SourceRange sourceRange,
String identifier,
boolean lookupOnly) |
Variable(SourceRange sourceRange,
String identifier,
boolean lookupOnly,
Operation... operations) |
| Modifier and Type | Method and Description |
|---|---|
EvaluationException |
EvaluationException.addExceptionInfo(SourceRange sourceRange,
Context context) |
SyntaxException |
SyntaxException.addExceptionInfo(SourceRange sourceRange,
File file) |
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 SyntaxException |
SyntaxException.create(SourceRange sourceRange,
EvaluationException ee) |
static EvaluationException |
EvaluationException.create(SourceRange sourceRange,
File file,
String msgkey,
Object... args) |
static SyntaxException |
SyntaxException.create(SourceRange sourceRange,
File file,
String msgkey,
Object... args) |
static EvaluationException |
EvaluationException.create(SourceRange sourceRange,
String msgkey,
Object... args) |
static SyntaxException |
SyntaxException.create(SourceRange sourceRange,
String msgkey,
Object... args) |
| Constructor and Description |
|---|
EvaluationException(String message,
SourceRange sourceRange) |
EvaluationException(String message,
SourceRange sourceRange,
Context context) |
EvaluationException(String message,
SourceRange sourceRange,
File file) |
EvaluationException(String message,
SourceRange sourceRange,
File file,
String traceback) |
SyntaxException(String message,
SourceRange sourceRange) |
SyntaxException(String message,
SourceRange sourceRange,
File file) |
| Modifier and Type | Field and Description |
|---|---|
SourceRange |
ParseException.sourceRange
This is the location in the file where the exception was thrown.
|
| Modifier and Type | Method and Description |
|---|---|
SourceRange |
PanParser.baseTypeSpec() |
SourceRange |
PanParser.defaultValue() |
SourceRange |
SimpleNode.getSourceRange() |
SourceRange |
PanParser.hashClause() |
SourceRange |
PanParser.linkClause() |
SourceRange |
PanParser.listClause() |
SourceRange |
PanParser.typeSpec() |
SourceRange |
PanParser.with() |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleNode.setSourceRange(SourceRange sourceRange) |
| Modifier and Type | Method and Description |
|---|---|
SourceRange |
Statement.getSourceRange()
Retrieve the source location for this Statement.
|
| Modifier and Type | Method and Description |
|---|---|
static AssignmentStatement |
AssignmentStatement.createAssignmentStatement(SourceRange sourceRange,
Path path,
Element value,
boolean conditional,
boolean modifiable) |
static AssignmentStatement |
AssignmentStatement.createAssignmentStatement(SourceRange sourceRange,
Path path,
Operation dml,
boolean conditional,
boolean modifiable) |
static BindStatement |
BindStatement.getInstance(SourceRange sourceRange,
String pathname,
FullType fullType) |
static VariableStatement |
VariableStatement.getInstance(SourceRange sourceRange,
String name,
Operation dml,
boolean conditional,
boolean modifiable) |
static IncludeStatement |
IncludeStatement.newIncludeStatement(SourceRange sourceRange,
Operation dml) |
| Constructor and Description |
|---|
AbsoluteAssignmentStatement(SourceRange sourceRange,
Path path,
Operation dml,
boolean conditional,
boolean modifiable)
This constructor creates a new AbsoluteAssignmentStatement that assigns a
the result of a DML block to the associated path.
|
AssignmentStatement(SourceRange sourceRange,
Path path,
boolean conditional,
boolean modifiable) |
BindStatement(SourceRange sourceRange) |
ComputedAssignmentStatement(SourceRange sourceRange,
Path path,
Operation dml,
boolean conditional,
boolean modifiable)
This constructor creates a new AssignmentStatement which assigns a
constant value (Element) to the associated path.
|
ComputedIncludeStatement(SourceRange sourceRange,
Operation dml)
Constructor to create a ComputedIncludeStatement which will execute a
template named by the result of the DML block.
|
ComputedLoadpathStatement(SourceRange sourceRange,
Operation dml,
boolean conditional,
boolean modifiable) |
ComputedVariableStatement(SourceRange sourceRange,
String name,
Operation dml,
boolean conditional,
boolean modifiable)
Creates a VariableStatement which assign a global variable to the result
of a DML block.
|
ConstantAssignmentStatement(SourceRange sourceRange,
Path path,
Element value,
boolean conditional,
boolean modifiable)
This constructor creates a new AbsoluteAssignmentStatement that assigns a
constant value (Element) to the associated path.
|
ConstantLoadpathStatement(SourceRange sourceRange,
Element value,
boolean conditional,
boolean modifiable) |
ConstantVariableStatement(SourceRange sourceRange,
String name,
Element value,
boolean conditional,
boolean modifiable) |
DeleteAssignmentStatement(SourceRange sourceRange,
Path path,
boolean conditional,
boolean modifiable)
This constructor creates a new AbsoluteAssignmentStatement that assigns a
constant value (Element) to the associated path.
|
DynamicBindStatement(SourceRange sourceRange,
String pathname,
FullType fullType)
This constructor creates a new BindStatement which associates a FullType to a particular, absolute path.
|
FunctionStatement(SourceRange sourceRange,
String name,
Operation function)
Creates a FunctionStatement which associates a name with a given DML
block.
|
IncludeStatement(SourceRange sourceRange)
Constructor which must be called by subclasses.
|
RelativeAssignmentStatement(SourceRange sourceRange,
Path path,
Operation dml,
boolean conditional,
boolean modifiable)
This constructor creates a new AssignmentStatement which assigns a the
result of a DML block to the associated path.
|
Statement(SourceRange sourceRange)
The base constructor for Statement takes a SourceRange object which
indicates the location of the statement within the source file.
|
StaticBindStatement(SourceRange sourceRange,
Path path,
FullType fullType)
This constructor creates a new BindStatement which associates a FullType to a particular, absolute path.
|
StaticIncludeStatement(SourceRange sourceRange,
String name)
Constructs a StaticIncludeStatement from the given template name.
|
TypeStatement(SourceRange sourceRange,
String name,
FullType fullType)
Creates a TypeStatement which associates a name to a FullType.
|
VariableStatement(SourceRange sourceRange,
String name,
boolean conditional,
boolean modifiable)
Creates a VariableStatement which assign a global variable to the result
of a DML block.
|
| Modifier and Type | Method and Description |
|---|---|
static SourceRange |
SourceRange.combineSourceRanges(SourceRange... ranges) |
| Modifier and Type | Method and Description |
|---|---|
static SourceRange |
SourceRange.combineSourceRanges(SourceRange... ranges) |
String |
CompileTimeContext.getTraceback(SourceRange sourceRange) |
String |
BuildContext.getTraceback(SourceRange sourceRange) |
String |
Context.getTraceback(SourceRange sourceRange) |
void |
CompileTimeContext.printTraceback(SourceRange sourceRange) |
void |
BuildContext.printTraceback(SourceRange sourceRange) |
void |
Context.printTraceback(SourceRange sourceRange) |
void |
CompileTimeContext.pushTemplate(Template template,
SourceRange sourceRange,
Level logLevel,
String logMessage) |
void |
BuildContext.pushTemplate(Template template,
SourceRange sourceRange,
Level logLevel,
String logMessage) |
void |
Context.pushTemplate(Template template,
SourceRange sourceRange,
Level logLevel,
String logMessage) |
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.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.
|
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.
|
| Constructor and Description |
|---|
Template(File source,
SourceRange sourceRange,
Template.TemplateType type,
String name,
List<Statement> statements)
Constructs a new template from the given information.
|
| Constructor and Description |
|---|
AliasType(String source,
SourceRange sourceRange,
String identifier,
Range range)
Constructor for AliasType takes the name of the type identifier.
|
BaseType(String source,
SourceRange sourceRange) |
CompositeType(String source,
SourceRange sourceRange,
BaseType baseType,
Range range) |
FullType(String source,
SourceRange sourceRange,
BaseType baseType,
Element defaultValue,
Operation dml) |
HashType(String source,
SourceRange sourceRange,
BaseType baseType,
Range range)
Constructor for HashType takes another BaseType as the type of the hash.
|
LinkType(String source,
SourceRange sourceRange,
BaseType baseType)
Constructor for LinkType takes another BaseType as the type of the link.
|
ListType(String source,
SourceRange sourceRange,
BaseType baseType,
Range range)
Constructor for LinkType takes another BaseType as the type of the list.
|
RecordType(String source,
SourceRange sourceRange,
boolean extensible,
Range range,
List<String> includes,
SortedMap<Term,FullType> reqFields,
SortedMap<Term,FullType> optFields) |
Type(String source,
SourceRange sourceRange) |
| Modifier and Type | Field and Description |
|---|---|
SourceRange |
SourceLocation.sourceRange |
SourceRange |
FunctionDefinition.sourceRange |
| Constructor and Description |
|---|
FunctionDefinition(Template template,
SourceRange sourceRange,
Operation dml) |
SourceLocation(Template template,
SourceRange sourceRange) |
Copyright © 2014 Quattor. All Rights Reserved.