Uses of Class
org.quattor.pan.template.SourceRange

Packages that use SourceRange
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. 
 

Uses of SourceRange in org.quattor.pan.dml
 

Fields in org.quattor.pan.dml declared as SourceRange
protected  SourceRange AbstractOperation.sourceRange
          Source location of this operation and its arguments.
 

Methods in org.quattor.pan.dml that return SourceRange
 SourceRange AbstractOperation.getSourceRange()
          Retrieve the source information from this operation.
 

Methods in org.quattor.pan.dml with parameters of type SourceRange
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.
 

Constructors in org.quattor.pan.dml with parameters of type SourceRange
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).
 

Uses of SourceRange in org.quattor.pan.dml.functions
 

Methods in org.quattor.pan.dml.functions with parameters of type SourceRange
static Operation IsValueOfType.getInstance(SourceRange sourceRange, java.lang.Class<? extends Element> type, java.lang.String name, Operation... operations)
           
static Operation IsVariableOfType.getInstance(SourceRange sourceRange, java.lang.Class<? extends Element> type, java.lang.String name, Operation... operations)
           
static Operation IsOfType.getInstance(SourceRange sourceRange, java.lang.Class<? extends Element> type, java.lang.String name, Operation... operations)
           
static Operation StaticMatch.getInstance(SourceRange sourceRange, Operation... operations)
           
static Operation StaticMatches.getInstance(SourceRange sourceRange, Operation... operations)
           
static Operation StringExists.getInstance(SourceRange sourceRange, Operation... operations)
           
static Operation Clone.getInstance(SourceRange sourceRange, 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 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 Debug.getInstance(SourceRange sourceRange, Operation... operations)
           
static Operation IsBoolean.getInstance(SourceRange sourceRange, Operation... operations)
           
static Operation ToLowerCase.getInstance(SourceRange sourceRange, Operation... operations)
           
static Operation IsLong.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 Exists.getInstance(SourceRange sourceRange, Operation... operations)
           
static Operation Delete.getInstance(SourceRange sourceRange, Operation... operations)
           
static Operation Hash.getInstance(SourceRange sourceRange, Operation... operations)
           
static Operation IsString.getInstance(SourceRange sourceRange, Operation... operations)
           
 

Constructors in org.quattor.pan.dml.functions with parameters of type SourceRange
AbstractMatcher(java.lang.String name, SourceRange sourceRange, Operation... operations)
           
AbstractStaticMatcher(SourceRange sourceRange, java.lang.String functionName, Operation... operations)
           
AbstractVariableMatcher(SourceRange sourceRange, java.lang.String functionName, Operation... operations)
           
Append(SourceRange sourceRange, Operation... operations)
           
BuiltInFunction(java.lang.String name, SourceRange sourceRange, Operation... operations)
           
Exists(SourceRange sourceRange, Operation... operations)
           
Function(SourceRange sourceRange, java.lang.String name, Operation... operations)
           
IsOfType(java.lang.String name, SourceRange sourceRange, java.lang.Class<? extends Element> type, Operation... operations)
           
PathExists(SourceRange sourceRange, Operation... operations)
           
Prepend(SourceRange sourceRange, Operation... operations)
           
StringExists(SourceRange sourceRange, Operation... operations)
           
 

Uses of SourceRange in org.quattor.pan.dml.operators
 

Methods in org.quattor.pan.dml.operators with parameters of type SourceRange
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, java.lang.String identifier, boolean lookupOnly, Operation... operations)
           
static ListVariable ListVariable.getInstance(SourceRange sourceRange, java.lang.String identifier, Operation... operations)
           
static Variable Variable.getInstance(SourceRange sourceRange, java.lang.String identifier, Operation... operations)
           
static SetValue SetValue.getInstance(SourceRange sourceRange, java.lang.String identifier, Operation... operations)
           
static Operation BitNot.newOperation(SourceRange sourceRange, Operation... ops)
           
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 LogicalLT.newOperation(SourceRange sourceRange, Operation... ops)
           
static Operation UnaryMinus.newOperation(SourceRange sourceRange, Operation... ops)
           
static Operation Mod.newOperation(SourceRange sourceRange, Operation... ops)
           
static Operation Sub.newOperation(SourceRange sourceRange, Operation... ops)
           
 

Constructors in org.quattor.pan.dml.operators with parameters of type SourceRange
Assign(SourceRange sourceRange, Operation... operations)
           
For(SourceRange sourceRange, Operation... ops)
           
Foreach(SourceRange sourceRange, Operation... ops)
           
ListVariable(SourceRange sourceRange, java.lang.String identifier, Operation... operations)
           
NestedListVariable(SourceRange sourceRange, java.lang.String identifier, Operation... operations)
           
NestedVariable(SourceRange sourceRange, java.lang.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, java.lang.String identifier, Operation... operations)
           
SimpleListVariable(SourceRange sourceRange, java.lang.String identifier)
           
SimpleVariable(SourceRange sourceRange, java.lang.String identifier, boolean lookupOnly)
           
Variable(SourceRange sourceRange, java.lang.String identifier, boolean lookupOnly, Operation... operations)
           
 

Uses of SourceRange in org.quattor.pan.exceptions
 

Methods in org.quattor.pan.exceptions with parameters of type SourceRange
 EvaluationException EvaluationException.addExceptionInfo(SourceRange sourceRange, Context context)
           
 SyntaxException SyntaxException.addExceptionInfo(SourceRange sourceRange, java.io.File file)
           
 EvaluationException EvaluationException.addExceptionInfo(SourceRange sourceRange, java.io.File file, java.lang.String traceback)
           
static EvaluationException EvaluationException.create(SourceRange sourceRange, Context context, java.lang.String msgkey, java.lang.Object... args)
           
static EvaluationException EvaluationException.create(SourceRange sourceRange, EvaluationException ee)
           
static SyntaxException SyntaxException.create(SourceRange sourceRange, EvaluationException ee)
           
static EvaluationException EvaluationException.create(SourceRange sourceRange, java.io.File file, java.lang.String msgkey, java.lang.Object... args)
           
static SyntaxException SyntaxException.create(SourceRange sourceRange, java.io.File file, java.lang.String msgkey, java.lang.Object... args)
           
static EvaluationException EvaluationException.create(SourceRange sourceRange, java.lang.String msgkey, java.lang.Object... args)
           
static SyntaxException SyntaxException.create(SourceRange sourceRange, java.lang.String msgkey, java.lang.Object... args)
           
 

Constructors in org.quattor.pan.exceptions with parameters of type SourceRange
EvaluationException(java.lang.String message, SourceRange sourceRange)
           
EvaluationException(java.lang.String message, SourceRange sourceRange, Context context)
           
EvaluationException(java.lang.String message, SourceRange sourceRange, java.io.File file)
           
EvaluationException(java.lang.String message, SourceRange sourceRange, java.io.File file, java.lang.String traceback)
           
SyntaxException(java.lang.String message, SourceRange sourceRange)
           
SyntaxException(java.lang.String message, SourceRange sourceRange, java.io.File file)
           
 

Uses of SourceRange in org.quattor.pan.parser
 

Fields in org.quattor.pan.parser declared as SourceRange
 SourceRange ParseException.sourceRange
          This is the location in the file where the exception was thrown.
 

Methods in org.quattor.pan.parser that return SourceRange
 SourceRange PanParser.baseTypeSpec()
           
 SourceRange PanParser.defaultValue()
           
 SourceRange SimpleNode.getSourceRange()
           
 SourceRange PanParser.hashClause()
           
 SourceRange PanParser.linkClause()
           
 SourceRange PanParser.listClause()
           
 SourceRange PanParser.typeSpec()
           
 SourceRange PanParser.with()
           
 

Methods in org.quattor.pan.parser with parameters of type SourceRange
 void SimpleNode.setSourceRange(SourceRange sourceRange)
           
 

Uses of SourceRange in org.quattor.pan.statement
 

Methods in org.quattor.pan.statement that return SourceRange
 SourceRange Statement.getSourceRange()
          Retrieve the source location for this Statement.
 

Methods in org.quattor.pan.statement with parameters of type SourceRange
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 VariableStatement VariableStatement.getInstance(SourceRange sourceRange, java.lang.String name, Operation dml, boolean conditional, boolean modifiable)
           
static IncludeStatement IncludeStatement.newIncludeStatement(SourceRange sourceRange, Operation dml)
           
 

Constructors in org.quattor.pan.statement with parameters of type SourceRange
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, Path path, FullType fullType)
          This constructor creates a new BindStatement which associates a FullType to a particular, absolute path.
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, java.lang.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, java.lang.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.
FunctionStatement(SourceRange sourceRange, java.lang.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.
StaticIncludeStatement(SourceRange sourceRange, java.lang.String name)
          Constructs a StaticIncludeStatement from the given template name.
TypeStatement(SourceRange sourceRange, java.lang.String name, FullType fullType)
          Creates a TypeStatement which associates a name to a FullType.
VariableStatement(SourceRange sourceRange, java.lang.String name, boolean conditional, boolean modifiable)
          Creates a VariableStatement which assign a global variable to the result of a DML block.
 

Uses of SourceRange in org.quattor.pan.template
 

Methods in org.quattor.pan.template that return SourceRange
static SourceRange SourceRange.combineSourceRanges(SourceRange... ranges)
           
 

Methods in org.quattor.pan.template with parameters of type SourceRange
static SourceRange SourceRange.combineSourceRanges(SourceRange... ranges)
           
 java.lang.String CompileTimeContext.getTraceback(SourceRange sourceRange)
           
 java.lang.String BuildContext.getTraceback(SourceRange sourceRange)
           
 java.lang.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, java.util.logging.Level logLevel, java.lang.String logMessage)
           
 void BuildContext.pushTemplate(Template template, SourceRange sourceRange, java.util.logging.Level logLevel, java.lang.String logMessage)
           
 void Context.pushTemplate(Template template, SourceRange sourceRange, java.util.logging.Level logLevel, java.lang.String logMessage)
           
 void TypeMap.put(java.lang.String name, FullType fullType, Template template, SourceRange sourceRange)
          Associate the given type with the given name within this ObjectContext.
 void FunctionMap.put(java.lang.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(java.lang.String name, FullType fullType, Template template, SourceRange sourceRange)
          Associate the given type with the given name within this ObjectContext.
 void BuildContext.setFullType(java.lang.String name, FullType fullType, Template template, SourceRange sourceRange)
          Associate the given type with the given name within this ObjectContext.
 void Context.setFullType(java.lang.String name, FullType fullType, Template template, SourceRange sourceRange)
          Associate the given type with the given name within this ObjectContext.
 void CompileTimeContext.setFunction(java.lang.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(java.lang.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(java.lang.String name, Operation function, Template template, SourceRange sourceRange)
          Define the given DML block as a function with the given name in this context.
 

Constructors in org.quattor.pan.template with parameters of type SourceRange
Template(java.io.File source, SourceRange sourceRange, Template.TemplateType type, java.lang.String name, java.util.List<Statement> statements)
          Constructs a new template from the given information.
 

Uses of SourceRange in org.quattor.pan.type
 

Constructors in org.quattor.pan.type with parameters of type SourceRange
AliasType(java.lang.String source, SourceRange sourceRange, java.lang.String identifier, Range range)
          Constructor for AliasType takes the name of the type identifier.
BaseType(java.lang.String source, SourceRange sourceRange)
           
CompositeType(java.lang.String source, SourceRange sourceRange, BaseType baseType, Range range)
           
FullType(java.lang.String source, SourceRange sourceRange, BaseType baseType, Element defaultValue, Operation dml)
           
HashType(java.lang.String source, SourceRange sourceRange, BaseType baseType, Range range)
          Constructor for HashType takes another BaseType as the type of the hash.
LinkType(java.lang.String source, SourceRange sourceRange, BaseType baseType)
          Constructor for LinkType takes another BaseType as the type of the link.
ListType(java.lang.String source, SourceRange sourceRange, BaseType baseType, Range range)
          Constructor for LinkType takes another BaseType as the type of the list.
RecordType(java.lang.String source, SourceRange sourceRange, boolean extensible, Range range, java.util.List<java.lang.String> includes, java.util.SortedMap<Term,FullType> reqFields, java.util.SortedMap<Term,FullType> optFields)
           
Type(java.lang.String source, SourceRange sourceRange)
           
 

Uses of SourceRange in org.quattor.pan.utils
 

Fields in org.quattor.pan.utils declared as SourceRange
 SourceRange SourceLocation.sourceRange
           
 SourceRange FunctionDefinition.sourceRange
           
 

Constructors in org.quattor.pan.utils with parameters of type SourceRange
FunctionDefinition(Template template, SourceRange sourceRange, Operation dml)
           
SourceLocation(Template template, SourceRange sourceRange)
           
 



Copyright © 2011 Quattor. All Rights Reserved.