| Package | Description |
|---|---|
| org.quattor.pan |
Contains the high-level classes used to invoke the pan language compiler.
|
| 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.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.utils |
Provides collection of useful utilities that don't fit neatly into other
pan packages.
|
| Modifier and Type | Method and Description |
|---|---|
static HashResource |
CompilerOptions.createRootElement(String rootElement) |
| Constructor and Description |
|---|
CompilerOptions(Pattern debugNsInclude,
Pattern debugNsExclude,
int maxIteration,
int maxRecursion,
Set<Formatter> formatters,
File outputDirectory,
List<File> includeDirectories,
CompilerOptions.DeprecationWarnings deprecationWarnings,
File annotationDirectory,
File annotationBaseDirectory,
String rootElement,
int nthread)
Construct a CompilerOptions instance to drive a Compiler run.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractOperation.checkInvalidSelfContext()
Default implementation recursively calls this method on all of the
contained operations (arguments).
|
void |
Operation.checkInvalidSelfContext()
This method will check that if a given reference to SELF occurs in an
invalid context.
|
void |
AbstractOperation.checkRestrictedContext()
Default implementation recursively calls this method on all of the
contained operations (arguments).
|
void |
Operation.checkRestrictedContext()
This method will check that the given operation and any arguments can be
used in a restricted context such as variable indices and function
arguments.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Element.checkInvalidSelfContext()
The default implementation does nothing.
|
void |
Element.checkRestrictedContext()
The default implementation does nothing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ErrorMessage.checkRestrictedContext() |
void |
Return.checkRestrictedContext() |
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) |
Exists(SourceRange sourceRange,
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 |
|---|---|
void |
SelfSimpleVariable.checkInvalidSelfContext() |
void |
SelfNestedVariable.checkInvalidSelfContext() |
void |
SelfSimpleListVariable.checkInvalidSelfContext() |
void |
SelfNestedListVariable.checkInvalidSelfContext() |
void |
SetSelf.checkInvalidSelfContext() |
protected static void |
SetValue.checkStaticIndexes(SourceRange sourceRange,
Operation... operations) |
static SetValue |
SetValue.getInstance(SourceRange sourceRange,
String identifier,
Operation... operations) |
static SetValue |
SetValue.getInstance(Variable v) |
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) |
protected void |
SetValue.validName(String name)
A utility method to determine if the variable name collides with one of
the reserved 'automatic' variables.
|
| Constructor and Description |
|---|
SetSelf(SourceRange sourceRange,
Operation... operations) |
SetValue(SourceRange sourceRange,
String identifier,
Operation... operations) |
| Modifier and Type | Method and Description |
|---|---|
SyntaxException |
SyntaxException.addExceptionInfo(SourceRange sourceRange,
File file) |
static SyntaxException |
SyntaxException.create(SourceRange sourceRange,
EvaluationException ee) |
static SyntaxException |
SyntaxException.create(SourceRange sourceRange,
File file,
String msgkey,
Object... args) |
static SyntaxException |
SyntaxException.create(SourceRange sourceRange,
String msgkey,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
static Operation |
PanParserAstUtils.astToDml(ASTOperation node,
boolean optimized) |
static Template |
PanParserAstUtils.convertAstToTemplate(File file,
ASTTemplate ast) |
Term |
ASTFieldSpec.getKey() |
| 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) |
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.
|
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.
|
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.
|
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.
|
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 |
|---|---|
void |
Template.templateNameVerification(String expectedName)
Check that the internal template name matches the expected template name.
|
| Constructor and Description |
|---|
Template(File source,
SourceRange sourceRange,
Template.TemplateType type,
String name,
List<Statement> statements)
Constructs a new template from the given information.
|
Template(String name)
Constructs a new object template with the given name which contains no
statements.
|
| Modifier and Type | Method and Description |
|---|---|
static Path |
Path.resolve(Path prefix,
Path relative) |
| Constructor and Description |
|---|
Path(Path root,
Term[] terms)
Constructor which will create a new Path from the concatenation of two
existing paths.
|
Path(String path)
Constructor of a path from a String.
|
Copyright © 2014 Quattor. All Rights Reserved.