Uses of Class
org.codehaus.commons.compiler.Location

Packages that use Location
org.codehaus.commons.compiler This package declares interfaces for the implementation of an IExpressionEvaluator, an IScriptEvaluator, an IClassBodyEvaluator and an ISimpleCompiler
org.codehaus.janino The classes in this package pose the core of the Janino JavaTM compiler. 
 

Uses of Location in org.codehaus.commons.compiler
 

Fields in org.codehaus.commons.compiler declared as Location
static Location Location.NOWHERE
           
 

Methods in org.codehaus.commons.compiler that return Location
 Location LocatedException.getLocation()
          Returns the Location object specified at construction time (may be null).
 

Constructors in org.codehaus.commons.compiler with parameters of type Location
CompileException(java.lang.String message, Location optionalLocation)
           
CompileException(java.lang.String message, Location optionalLocation, java.lang.Throwable cause)
           
LocatedException(java.lang.String message, Location optionalLocation)
           
LocatedException(java.lang.String message, Location optionalLocation, java.lang.Throwable optionalCause)
           
 

Uses of Location in org.codehaus.janino
 

Methods in org.codehaus.janino that return Location
 Location Scanner.Token.getLocation()
           
 Location Java.Locatable.getLocation()
           
 Location Java.Located.getLocation()
           
 Location Java.AbstractTypeDeclaration.getLocation()
           
 Location Scanner.location()
          Returns the Location of the next token.
 Location Parser.location()
           
 

Methods in org.codehaus.janino with parameters of type Location
protected  Java.PackageMemberClassDeclaration ClassBodyEvaluator.addPackageMemberClassDeclaration(Location location, Java.CompilationUnit compilationUnit)
          To the given Java.CompilationUnit, add A class declaration with the configured name, superclass and interfaces A method declaration with the given return type, name, parameter names and values and thrown exceptions
protected  Java.Type[] SimpleCompiler.classesToTypes(Location location, java.lang.Class[] classes)
          Convert an array of Classes into an array ofJava.Types.
protected  Java.Type SimpleCompiler.classToType(Location location, java.lang.Class optionalClass)
          Wrap a reflection Class in a Java.Type object.
 void UnitCompiler.ErrorHandler.handleError(java.lang.String message, Location optionalLocation)
           
 void WarningHandler.handleWarning(java.lang.String handle, java.lang.String message, Location optionalLocation)
           
 void Compiler.SimpleWarningHandler.handleWarning(java.lang.String handle, java.lang.String message, Location optionalLocation)
           
 void FilterWarningHandler.handleWarning(java.lang.String handle, java.lang.String message, Location optionalLocation)
           
 IClass UnitCompiler.importTypeOnDemand(java.lang.String simpleTypeName, Location location)
          6.5.2.BL1.B1.B5, 6.5.2.BL1.B1.B6 Type-import-on-demand.
6.5.5.1.6 Type-import-on-demand declaration.
protected  Java.MethodDeclarator ScriptEvaluator.makeMethodDeclaration(Location location, boolean staticMethod, java.lang.Class returnType, java.lang.String methodName, java.lang.Class[] parameterTypes, java.lang.String[] parameterNames, java.lang.Class[] thrownExceptions, java.util.List statements)
          To the given Java.ClassDeclaration, add A public method declaration with the given return type, name, parameter names and values and thrown exceptions A block
 

Constructors in org.codehaus.janino with parameters of type Location
Java.AbstractTypeBodyDeclaration(Location location, boolean statiC)
           
Java.AbstractTypeDeclaration(Location location, short modifiers)
           
Java.AlternateConstructorInvocation(Location location, Java.Rvalue[] arguments)
           
Java.AmbiguousName(Location location, java.lang.String[] identifiers)
           
Java.AmbiguousName(Location location, java.lang.String[] identifiers, int n)
           
Java.AnonymousClassDeclaration(Location location, Java.Type baseType)
           
Java.ArrayAccessExpression(Location location, Java.Rvalue lhs, Java.Rvalue index)
           
Java.ArrayInitializer(Location location, Java.ArrayInitializerOrRvalue[] values)
           
Java.ArrayLength(Location location, Java.Rvalue lhs)
           
Java.Assignment(Location location, Java.Lvalue lhs, java.lang.String operator, Java.Rvalue rhs)
           
Java.Atom(Location location)
           
Java.BasicType(Location location, int index)
           
Java.BinaryOperation(Location location, Java.Rvalue lhs, java.lang.String op, Java.Rvalue rhs)
           
Java.Block(Location location)
           
Java.BooleanRvalue(Location location)
           
Java.BreakableStatement(Location location)
           
Java.BreakStatement(Location location, java.lang.String optionalLabel)
           
Java.Cast(Location location, Java.Type targetType, Java.Rvalue value)
           
Java.CatchClause(Location location, Java.FunctionDeclarator.FormalParameter caughtException, Java.Block body)
           
Java.ClassDeclaration(Location location, short modifiers)
           
Java.ClassLiteral(Location location, Java.Type type)
           
Java.CompilationUnit.ImportDeclaration(Location location)
           
Java.CompilationUnit.SingleStaticImportDeclaration(Location location, java.lang.String[] identifiers)
           
Java.CompilationUnit.SingleTypeImportDeclaration(Location location, java.lang.String[] identifiers)
           
Java.CompilationUnit.StaticImportOnDemandDeclaration(Location location, java.lang.String[] identifiers)
           
Java.CompilationUnit.TypeImportOnDemandDeclaration(Location location, java.lang.String[] identifiers)
           
Java.ConditionalExpression(Location location, Java.Rvalue lhs, Java.Rvalue mhs, Java.Rvalue rhs)
           
Java.ConstructorDeclarator(Location location, java.lang.String optionalDocComment, short modifiers, Java.FunctionDeclarator.FormalParameter[] formalParameters, Java.Type[] thrownExceptions, Java.ConstructorInvocation optionalConstructorInvocation, java.util.List statements)
           
Java.ConstructorInvocation(Location location, Java.Rvalue[] arguments)
           
Java.ContinuableStatement(Location location)
           
Java.ContinueStatement(Location location, java.lang.String optionalLabel)
           
Java.Crement(Location location, Java.Lvalue operand, java.lang.String operator)
           
Java.Crement(Location location, java.lang.String operator, Java.Lvalue operand)
           
Java.DoStatement(Location location, Java.BlockStatement body, Java.Rvalue condition)
           
Java.EmptyStatement(Location location)
           
Java.FieldAccess(Location location, Java.Atom lhs, IClass.IField field)
           
Java.FieldAccessExpression(Location location, Java.Atom lhs, java.lang.String fieldName)
           
Java.FieldDeclaration(Location location, java.lang.String optionalDocComment, short modifiers, Java.Type type, Java.VariableDeclarator[] variableDeclarators)
           
Java.ForStatement(Location location, Java.BlockStatement optionalInit, Java.Rvalue optionalCondition, Java.Rvalue[] optionalUpdate, Java.BlockStatement body)
           
Java.FunctionDeclarator.FormalParameter(Location location, boolean finaL, Java.Type type, java.lang.String name)
           
Java.FunctionDeclarator(Location location, java.lang.String optionalDocComment, short modifiers, Java.Type type, java.lang.String name, Java.FunctionDeclarator.FormalParameter[] formalParameters, Java.Type[] thrownExceptions, java.util.List optionalStatements)
           
Java.IfStatement(Location location, Java.Rvalue condition, Java.BlockStatement thenStatement, Java.BlockStatement optionalElseStatement)
          Notice that the elseStatement is mandatory; for an if statement without an "else" clause, a dummy Java.EmptyStatement should be passed.
Java.Initializer(Location location, boolean statiC, Java.Block block)
           
Java.Instanceof(Location location, Java.Rvalue lhs, Java.Type rhs)
           
Java.InterfaceDeclaration(Location location, java.lang.String optionalDocComment, short modifiers, java.lang.String name, Java.Type[] extendedTypes)
           
Java.Invocation(Location location, java.lang.String methodName, Java.Rvalue[] arguments)
           
Java.LabeledStatement(Location location, java.lang.String label, Java.Statement body)
           
Java.Literal(Location location, java.lang.Object value)
           
Java.LocalClassDeclaration(Location location, java.lang.String optionalDocComment, short modifiers, java.lang.String name, Java.Type optionalExtendedType, Java.Type[] implementedTypes)
           
Java.LocalVariableAccess(Location location, Java.LocalVariable localVariable)
           
Java.LocalVariableDeclarationStatement(Location location, short modifiers, Java.Type type, Java.VariableDeclarator[] variableDeclarators)
           
Java.Located(Location location)
           
Java.Lvalue(Location location)
           
Java.MemberClassDeclaration(Location location, java.lang.String optionalDocComment, short modifiers, java.lang.String name, Java.Type optionalExtendedType, Java.Type[] implementedTypes)
           
Java.MemberInterfaceDeclaration(Location location, java.lang.String optionalDocComment, short modifiers, java.lang.String name, Java.Type[] extendedTypes)
           
Java.MethodDeclarator(Location location, java.lang.String optionalDocComment, short modifiers, Java.Type type, java.lang.String name, Java.FunctionDeclarator.FormalParameter[] formalParameters, Java.Type[] thrownExceptions, java.util.List optionalStatements)
           
Java.MethodInvocation(Location location, Java.Atom optionalTarget, java.lang.String methodName, Java.Rvalue[] arguments)
           
Java.NamedClassDeclaration(Location location, java.lang.String optionalDocComment, short modifiers, java.lang.String name, Java.Type optionalExtendedType, Java.Type[] implementedTypes)
           
Java.NewAnonymousClassInstance(Location location, Java.Rvalue optionalQualification, Java.AnonymousClassDeclaration anonymousClassDeclaration, Java.Rvalue[] arguments)
           
Java.NewArray(Location location, Java.Type type, Java.Rvalue[] dimExprs, int dims)
          Create a new array with dimension dimExprs.length + dims
Java.NewClassInstance(Location location, Java.Rvalue optionalQualification, IClass iClass, Java.Rvalue[] arguments)
           
Java.NewClassInstance(Location location, Java.Rvalue optionalQualification, Java.Type type, Java.Rvalue[] arguments)
           
Java.NewInitializedArray(Location location, Java.ArrayType arrayType, Java.ArrayInitializer arrayInitializer)
           
Java.Package(Location location, java.lang.String name)
           
Java.PackageDeclaration(Location location, java.lang.String packageName)
           
Java.PackageMemberClassDeclaration(Location location, java.lang.String optionalDocComment, short modifiers, java.lang.String name, Java.Type optionalExtendedType, Java.Type[] implementedTypes)
           
Java.PackageMemberInterfaceDeclaration(Location location, java.lang.String optionalDocComment, short modifiers, java.lang.String name, Java.Type[] extendedTypes)
           
Java.ParameterAccess(Location location, Java.FunctionDeclarator.FormalParameter formalParameter)
           
Java.ParenthesizedExpression(Location location, Java.Rvalue value)
           
Java.QualifiedThisReference(Location location, Java.Type qualification)
          Access the given enclosing instance of the declaring class.
Java.ReferenceType(Location location, java.lang.String[] identifiers)
           
Java.ReturnStatement(Location location, Java.Rvalue optionalReturnValue)
           
Java.Rvalue(Location location)
           
Java.RvalueMemberType(Location location, Java.Rvalue rvalue, java.lang.String identifier)
          Notice: The rvalue is not a subordinate object!
Java.SimpleType(Location location, IClass iClass)
           
Java.Statement(Location location)
           
Java.SuperclassFieldAccessExpression(Location location, Java.Type optionalQualification, java.lang.String fieldName)
           
Java.SuperclassMethodInvocation(Location location, java.lang.String methodName, Java.Rvalue[] arguments)
           
Java.SuperConstructorInvocation(Location location, Java.Rvalue optionalQualification, Java.Rvalue[] arguments)
           
Java.SwitchStatement.SwitchBlockStatementGroup(Location location, java.util.List caseLabels, boolean hasDefaultLabel, java.util.List blockStatements)
           
Java.SwitchStatement(Location location, Java.Rvalue condition, java.util.List sbsgs)
           
Java.SynchronizedStatement(Location location, Java.Rvalue expression, Java.BlockStatement body)
           
Java.ThisReference(Location location)
          Access the declaring class.
Java.ThrowStatement(Location location, Java.Rvalue expression)
           
Java.TryStatement(Location location, Java.BlockStatement body, java.util.List catchClauses, Java.Block optionalFinally)
           
Java.Type(Location location)
           
Java.UnaryOperation(Location location, java.lang.String operator, Java.Rvalue operand)
           
Java.VariableDeclarator(Location location, java.lang.String name, int brackets, Java.ArrayInitializerOrRvalue optionalInitializer)
           
Java.WhileStatement(Location location, Java.Rvalue condition, Java.BlockStatement body)
           
 



Copyright © 2001-2012. All Rights Reserved.