mjc

Uses of Class
org.multijava.util.compiler.TokenReference

Packages that use TokenReference
org.multijava.mjc Implements mjc, a MultiJava compiler. 
org.multijava.mjdoc.mjdoc_142 The mjdoc tool documents java programs that contain MultiJava (MJ) extensions to the Java progamming language; it produces html pages very similar to those produced by the javadoc tool. 
org.multijava.util.compiler Provides utilities and superclasses for the compilers in MultiJava and the Java Modeling Language
 

Uses of TokenReference in org.multijava.mjc
 

Fields in org.multijava.mjc declared as TokenReference
private  TokenReference CSourceDispatcherMethod.where
           
private static TokenReference CClass.NO_TOKEN
          Used for error reporting.
private static TokenReference CMethodSet.NO_TOKEN
           
private  TokenReference CSourceAmbiguousDispatcherClass.where
           
private  TokenReference CSourceDispatcherClass.where
           
(package private)  TokenReference JTypeDeclaration.MethodRecord.where
           
private  TokenReference CSourceRedirectorMethod.where
          The location in the source code that caused this redirector to be generated.
private static TokenReference CCompilationUnit.NO_TOKEN
          Used for error reporting.
private  TokenReference CFlowControlContext.where
          A source code position for the start of this context.
 

Methods in org.multijava.mjc that return TokenReference
abstract  TokenReference CompilerPassEnterable.getTokenReference()
           
abstract  TokenReference CFlowControlContextType.getTokenReference()
           
 TokenReference CFlowControlContext.getTokenReference()
           
 TokenReference ParserUtility.buildTokenReference()
          Constructs a token reference (i.e., a source code position marker) for annotating the abstract syntax tree.
 TokenReference ParserUtility.buildTokenReference(antlr.Token tok)
          Constructs a token reference (i.e., a source code position marker) for annotating the abstract syntax tree.
 TokenReference ParserUtility.buildTokenReference(ParsingController.TokenWrapper wrap)
          Constructs a token reference (i.e., a source code position marker) for annotating the abstract syntax tree.
 

Methods in org.multijava.mjc with parameters of type TokenReference
abstract  JExpression CContextType.lookupOuterLocalVariable(TokenReference ref, String ident)
          Finds a local variable with the given name that appears outside the current lexical contour.
 void JLocalVariable.setAssigned(TokenReference ref, CContextType context)
          Records that this variable is assigned to and reports a warning if the assignment is to a for-loop variable in a location other than the increment of the loop.
 JExpression CSourceClass.getOuterLocalAccess(TokenReference ref, JLocalVariable var, CMethod constructor)
          Returns an expression that evaluates to the value of the outer local variable var.
private  JLocalVariableExpression CSourceClass.generatedLocalVarHelper(CMethod constructor, CSourceField field, JLocalVariable var, TokenReference ref)
           
private  void CSourceDispatcherClass.completeClassInfo(Main compiler, TokenReference where)
          Generates the $signature interface and (if RMJ) the ambiguous-method dispatcher class for this generic function and then calls completeClassInfo().
 JExpression CContext.lookupOuterLocalVariable(TokenReference ref, String ident)
          Finds a local variable with the given name that appears outside the current lexical contour.
 JExpression CClassContext.lookupOuterLocalVariable(TokenReference ref, String ident)
          Finds a local variable with the given name that appears outside the current lexical contour.
abstract  JExpression CClassContextType.lookupOuterLocalVariable(TokenReference ref, String ident)
          Finds a local variable with the given name that appears outside the current lexical contour.
abstract  JExpression CCompilationUnitContextType.lookupOuterLocalVariable(TokenReference ref, String ident)
          Finds a local variable with the given name that appears outside the current lexical contour.
abstract  void CMethodContextType.verifyExceptions(TokenReference ref)
          Verifies that all checked exceptions are defined in the throw list.
abstract  CFlowControlContextType CMethodContextType.createFlowControlContext(int localVars, TokenReference where)
           
abstract  CFlowControlContextType CMethodContextType.createFlowControlContext(int localVars, boolean isInExternalGF, TokenReference where)
           
abstract  void CConstructorContextType.verifyExceptions(TokenReference ref)
          Verifies that all checked exceptions are defined in the throw list.
 JExpression CCompilationUnitContext.lookupOuterLocalVariable(TokenReference ref, String ident)
          Finds a local variable with the given name that appears outside the current lexical contour.
abstract  CFlowControlContextType CFlowControlContextType.createFlowControlContext(TokenReference where)
           
abstract  CFlowControlContextType CFlowControlContextType.createFlowControlContext(int params, TokenReference where)
           
abstract  CTryContext CFlowControlContextType.createTryContext(TokenReference where)
           
abstract  CFlowControlContextType CFlowControlContextType.createFinallyContext(CFlowControlContextType tryContext, TokenReference where)
           
abstract  CFlowControlContextType[] CFlowControlContextType.createParallelContexts(int count, TokenReference where)
          Creates a set of child contexts for typechecking parallel control flows.
 void CMethodContext.verifyExceptions(TokenReference ref)
          Verifies that all checked exceptions are defined in the throw list.
 CFlowControlContextType CMethodContext.createFlowControlContext(int localVars, TokenReference where)
           
 CFlowControlContextType CMethodContext.createFlowControlContext(int localVars, boolean isInExternalGF, TokenReference where)
           
 void CConstructorContext.verifyExceptions(TokenReference ref)
          Verifies that all checked exceptions are defined in the throw list.
 JExpression CExtMethodContext.lookupOuterLocalVariable(TokenReference ref, String ident)
          Finds a local variable with the given name that appears outside the current lexical contour.
 CFlowControlContextType CFlowControlContext.createFlowControlContext(TokenReference where)
           
 CFlowControlContextType CFlowControlContext.createFlowControlContext(int params, TokenReference where)
           
 CTryContext CFlowControlContext.createTryContext(TokenReference where)
           
 CFlowControlContextType CFlowControlContext.createFinallyContext(CFlowControlContextType tryContext, TokenReference where)
           
 CFlowControlContextType[] CFlowControlContext.createParallelContexts(int count, TokenReference where)
          Creates a set of child contexts for typechecking parallel control flows.
 CSwitchGroupContext CSwitchBodyContext.createSwitchGroupContext(CSwitchGroupContext previousContext, TokenReference where)
          Creates a context for checking the statements in a labelled block statement group within this switch.
protected  JClassFieldExpression JNameExpression.createClassField(TokenReference ref, JExpression prefix, String ident)
          Since class field may be overloaded in sub compiler, this method allow you to specifie the type of class field without needed to touch the huge method above !
protected  JClassFieldExpression JNameExpression.createClassField(TokenReference ref, String ident)
          Since class field may be overloaded in sub compiler, this method allow you to specifie the type of class field without needed to touch the huge method above !
static JExpression JAssignmentExpression.create(TokenReference where, int oper, JExpression left, JExpression right)
          Factory method creates an assignment expression or a compound assignment expression (like x += 3) depending on the assignment operator.
 JUnaryExpression JExpressionFactory.createUnaryExpression(antlr.Token op, TokenReference where, int oper, JExpression expr)
           
 JExpression JExpressionFactory.createAdditiveExpr(antlr.Token op, TokenReference where, JExpression left, JExpression right)
           
 JAddExpression JExpressionFactory.createAddExpression(antlr.Token tok, TokenReference where, JExpression left, JExpression right)
           
 JMinusExpression JExpressionFactory.createMinusExpression(antlr.Token tok, TokenReference where, JExpression left, JExpression right)
           
 JExpression JExpressionFactory.createMultiplicativeExpr(antlr.Token op, TokenReference where, JExpression left, JExpression right)
           
 JMultExpression JExpressionFactory.createMultExpression(antlr.Token op, TokenReference where, JExpression left, JExpression right)
           
 JDivideExpression JExpressionFactory.createDivideExpression(antlr.Token op, TokenReference where, JExpression left, JExpression right)
           
 JModuloExpression JExpressionFactory.createModuloExpression(antlr.Token op, TokenReference where, JExpression left, JExpression right)
           
 JShiftExpression JExpressionFactory.createShiftExpression(TokenReference where, int oper, JExpression left, JExpression right)
           
 JBitwiseExpression JExpressionFactory.createBitwiseExpression(TokenReference where, int oper, JExpression left, JExpression right)
           
 CType MjcParser.jValueSpecializer(CType type, TokenReference sourceRef)
           
private static JBlock MJTopLevelAbstractMethodDeclaration.make_abstract_body(TokenReference where)
           
 

Constructors in org.multijava.mjc with parameters of type TokenReference
CSourceDispatcherMethod(TokenReference where, Main compiler, CSourceClass outer, CMethod topConcreteMethod, CSourceMethod[] multimethods, int gfID)
          Constructs a dispatcher method for the given set of multimethods.
JPhylum(TokenReference where)
          construct an element of the parsing tree
JCompilationUnit(TokenReference where, JPackageName packageName, CCompilationUnit export, JPackageImportType[] importedPackages, ArrayList importedUnits, JTypeDeclarationType[] typeDeclarations, ArrayList tlMethods)
          Constructs a CompilationUnit with the specified top level context
JLocalVariable(TokenReference where, long modifiers, int desc, CType type, String name, JExpression expr)
          Constructs a local variable definition AST node.
JGeneratedLocalVariable(TokenReference where, long modifiers, CType type, String name, JExpression value)
          Constructs a local variable definition
CSourceClass(Main compiler, MemberAccess access, TokenReference where, String ident, String qualifiedName, CTypeVariable[] typevariables, boolean isAnonymous, boolean isMember, boolean deprecated)
          Constructs a class export from source
CSourceAmbiguousDispatcherClass(Main compiler, CSourceClass outer, TokenReference where, CDispatcherSignature dispatcherSig, CSourceDispatcherMethod dispatcherMethod, int number)
           
CSourceDispatcherClass(Main compiler, CSourceClass outer, TokenReference where, CSourceDispatcherMethod dispatcherMethod)
           
CSourceDispatcherSignature(Main compiler, CClass outer, TokenReference where, CSourceDispatcherMethod dispMethod, int number)
           
JMemberDeclaration(TokenReference where, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree This method is directly called by the parser
JMethodDeclaration(TokenReference where, long modifiers, CTypeVariable[] typevariables, CType returnType, String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree This method is directly called by the parser
JExpression(TokenReference where)
          Construct a node in the parsing tree
JThisExpression(TokenReference where)
          Construct an unqualified "this" expression node in the parsing tree.
JThisExpression(TokenReference where, CClass self)
          Construct a qualified "this" expression node in the parsing tree, where the actual CClass singleton of the qualifier is known.
JThisExpression(TokenReference where, JExpression prefix)
          Construct a qualified "this" expression node in the parsing tree, where only the qualifying expression is known, not its type.
JLocalVariableExpression(TokenReference where, JLocalVariable variable)
          Construct a node in the parsing tree
JTypeDeclaration(TokenReference where, long modifiers, String ident, CTypeVariable[] typevariables, CClassType[] interfaces, ArrayList methods, ArrayList inners, JPhylum[] fieldsAndInits, JavadocComment javadoc, JavaStyleComment[] comments)
          Constructs a type declaration in the parsing tree.
CBlockError(TokenReference where, Message message)
          An error with a formatted message as argument
CBlockError(TokenReference where, MessageDescription description, Object[] parameters)
          An error with an arbitrary number of parameters
CBlockError(TokenReference where, MessageDescription description, Object parameter1, Object parameter2)
          An error with two parameters
CBlockError(TokenReference where, MessageDescription description, Object parameter)
          An error with one parameter
CBlockError(TokenReference where, MessageDescription description)
          An error without parameters
CSourceRedirectorMethod(CMethod target, TokenReference where, CContextType context)
          Constructs a redirector for the given method, assuming the given declaration context.
CSourceRedirectorMethod(CSourceMethod target, TokenReference where)
          Constructs a redirector for the given source method.
CLineError(TokenReference where, Message message)
          An error with a formatted message as argument
CLineError(TokenReference where, MessageDescription description, Object[] parameters)
          An error with an arbitrary number of parameters
CLineError(TokenReference where, MessageDescription description, Object parameter1, Object parameter2)
          An error with two parameters
CLineError(TokenReference where, MessageDescription description, Object parameter)
          An error with one parameter
CLineError(TokenReference where, MessageDescription description)
          An error without parameters
CExpressionError(TokenReference where, Message message)
          An error with a formatted message as argument
CExpressionError(TokenReference where, MessageDescription description, Object[] parameters)
          An error with an arbitrary number of parameters
CExpressionError(TokenReference where, MessageDescription description, Object parameter1, Object parameter2)
          An error with two parameters
CExpressionError(TokenReference where, MessageDescription description, Object parameter)
          An error with one parameter
CExpressionError(TokenReference where, MessageDescription description)
          An error without parameters
CFlowControlContext(CFlowControlContextType parent, TokenReference where)
          Construct a nested flow control context.
CFlowControlContext(CFlowControlContextType parent, int varEstimate, TokenReference where)
          Construct a nested flow control context.
CFlowControlContext(CMethodContextType parent, int varEstimate, boolean isInExternalGF, TokenReference where)
          Construct an outer-most flow control context.
CFlowControlContext(CMethodContextType parent, int varEstimate, TokenReference where)
           
CFinallyContext(CFlowControlContextType beforeTryContext, CFlowControlContextType afterTryContext, TokenReference where)
           
JStatement(TokenReference where, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JLabeledStatement(TokenReference where, String label, JStatement stmt, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JLoopStatement(TokenReference where, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JSwitchStatement(TokenReference where, JExpression expr, JSwitchGroup[] groups, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
CTryContext(CFlowControlContextType parent, TokenReference where)
          Construct a block context, it supports local variable allocation throw statement and return statement
CMethodNotFoundError(TokenReference where, String name, CType[] types, boolean isConstr)
           
JReturnStatement(TokenReference where, JExpression expr, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JBlock(TokenReference where, JStatement[] body, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JClassBlock(TokenReference where, boolean isStatic, JStatement[] body, JavadocComment javadoc)
          Construct a node in the parsing tree
JClassBlock(TokenReference where, boolean isStatic, JStatement[] body)
          Construct a block with no javadocs annotations.
JPackageName(TokenReference where, String name, JavaStyleComment[] comments)
          construct a package name
MJTopLevelMethodDeclaration(TokenReference where, long modifiers, CTypeVariable[] typevariables, CType returnType, CType openClassType, String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          This class represents a MultiJava external method in the syntax tree Construct a node in the parsing tree This method is directly called by the parser
CSourceGFCollection(Main compiler, CClass owner, CMemberHost host, TokenReference where, long modifiers, String ident, String qualifiedName, boolean isAnonymous, boolean isMember, boolean deprecated, CMethod[] tlMethods)
           
JLiteral(TokenReference where)
          Construct a node in the parsing tree
JNumberLiteral(TokenReference where)
          Construct a node in the parsing tree
JOrdinalLiteral(TokenReference where, String image)
          Construct a node in the parsing tree
JOrdinalLiteral(TokenReference where, Number value, CNumericType type)
          Construct a node in the parsing tree
JOrdinalLiteral(TokenReference where, long value, CNumericType type)
          Construct a node in the parsing tree
CSwitchGroupContext(CSwitchBodyContext parent, TokenReference where)
          Construct a context for checking control flow through a switch group where fall through from the previous group is not possible.
CSwitchGroupContext(CSwitchBodyContext parent, CSwitchGroupContext previousContext, TokenReference where)
          Construct a context for checking control flow through a switch group where fall through from the previous group is possible.
JNameExpression(TokenReference where, String ident)
          Constructs a node in the parsing tree.
JNameExpression(TokenReference where, String ident, CUniverse univ)
          Constructs a node in the parsing tree.
JNameExpression(TokenReference where, JExpression prefix, String ident)
          Constructs a node in the parsing tree.
JNameExpression(TokenReference where, JExpression prefix, String ident, CUniverse univ)
          Constructs a node in the parsing tree.
JMethodCallExpression(TokenReference where, JExpression prefix, JExpression[] args)
          Construct a node in the parsing tree This method is directly called by the parser
JMethodCallExpression(TokenReference where, JExpression prefix, String ident, JExpression[] args)
          Constructs a method call node of an AST.
JMethodCallExpression(TokenReference where, JExpression prefix, String ident, JExpression[] args, boolean doSetContext)
          Constructs a method call node of an AST.
JBinaryExpression(TokenReference where, JExpression left, JExpression right)
          Construct a node in the parsing tree This method is directly called by the parser
JBinaryArithmeticExpression(TokenReference where, JExpression left, JExpression right)
          Constructs a node in the parsing tree.
JAddExpression(TokenReference where, JExpression left, JExpression right)
          Construct a node in the parsing tree.
JArrayAccessExpression(TokenReference where, JExpression prefix, JExpression accessor)
          Construct a node in the parsing tree This method is directly called by the parser
JArrayDimsAndInits(TokenReference where, CUniverse array_univ, JExpression[] dims, JArrayInitializer init)
          Constructs an array dimension and initializer node in the AST
JArrayInitializer(TokenReference where, JExpression[] elems)
          Constructs a node in the parsing tree.
JArrayLengthExpression(TokenReference where, JExpression prefix)
          Construct a node in the parsing tree
JAssertStatement(TokenReference where, JExpression predicate, JavaStyleComment[] comments)
           
JAssertStatement(TokenReference where, JExpression predicate, JExpression throwMessage, JavaStyleComment[] comments)
           
JAssignmentExpression(TokenReference where, JExpression left, JExpression right)
          Constructs a node in the parsing tree.
JIfStatement(TokenReference where, JExpression cond, JStatement thenClause, JStatement elseClause, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JBitwiseExpression(TokenReference where, int oper, JExpression left, JExpression right)
          Construct a node in the parsing tree This method is directly called by the parser
JBooleanLiteral(TokenReference where, boolean value)
          Construct a node in the parsing tree
JBreakStatement(TokenReference where, String label, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JCastExpression(TokenReference where, JExpression expr, CType dest)
          Constructs a node in the parsing tree.
JCastExpression(TokenReference where, JExpression expr, CType dest, boolean isSynthetic)
          Constructs a node in the parsing tree.
JCatchClause(TokenReference where, JFormalParameter exception, JBlock body)
          Constructs a node in the parsing tree.
JFormalParameter(TokenReference where, long modifiers, int desc, CSpecializedType type, String ident)
          Constructs a formal parameter node in the parsing tree.
JFormalParameter(TokenReference where, int desc, CSpecializedType type, String ident, boolean isFinal)
          Constructs a formal parameter node in the parsing tree.
JCharLiteral(TokenReference where, String image)
          Construct a node in the parsing tree
JCharLiteral(TokenReference where, char val)
          Construct a node in the parsing tree
JCharLiteral(TokenReference where, Object val)
          Construct a node in the parsing tree
JCheckedExpression(TokenReference where, JExpression checked)
          Construct a node in the parsing tree.
JClassDeclaration(TokenReference where, long modifiers, String ident, CTypeVariable[] typevariables, CClassType superType, CClassType[] interfaces, ArrayList methods, ArrayList inners, JPhylum[] fieldsAndInits, JavadocComment javadoc, JavaStyleComment[] comment)
          Constructs a class declaration in the parsing tree.
JInitializerDeclaration(TokenReference where, JBlock body, boolean isStatic, boolean isDummy)
          Construct a node in the parsing tree This method is directly called by the parser
JClassExpression(TokenReference where, CType prefixType)
          Construct a node in the parsing tree.
JClassExpression(TokenReference where, JExpression expr, int bounds)
          Construct a node in the parsing tree.
JClassFieldDeclarator(TokenReference where, JFieldDeclarationType decl)
          Construct a node in the parsing tree.
JClassFieldExpression(TokenReference where, JExpression prefix, String ident, JNameExpression sourceName)
          Construct a node in the parsing tree.
JClassFieldExpression(TokenReference where, String ident, JNameExpression sourceName)
          Construct a node in the parsing tree.
JClassFieldExpression(TokenReference where, JExpression prefix, String ident)
          Construct a node in the parsing tree.
JClassFieldExpression(TokenReference where, String ident)
          Construct a node in the parsing tree.
JClassOrGFImport(TokenReference where, String name, JavaStyleComment[] comments)
          Constructs an AST node for a class or external member import statement.
MJGenericFunctionDecl(TokenReference where, long modifiers, String ident, MJTopLevelMethodDeclaration[] methods)
          Constructs a generic function anchor declaration in the parsing tree.
JCompoundAssignmentExpression(TokenReference where, int oper, JExpression left, JExpression right)
          Construct a node in the parsing tree This method is directly called by the parser
JCompoundStatement(TokenReference where, JStatement[] body)
          Construct a node in the parsing tree.
JConditionalAndExpression(TokenReference where, JExpression left, JExpression right)
          Construct a node in the parsing tree This method is directly called by the parser
JConditionalExpression(TokenReference where, JExpression cond, JExpression left, JExpression right)
          Construct a node in the parsing tree.
JConditionalOrExpression(TokenReference where, JExpression left, JExpression right)
          Construct a node in the parsing tree This method is directly called by the parser
JConstructorBlock(TokenReference where, JStatement[] body)
          Construct a node in the parsing tree.
JExplicitConstructorInvocation(TokenReference where, JExpression prefix, String ident, JExpression[] args)
          Construct a node in the parsing tree.
JExplicitConstructorInvocation(TokenReference where, String ident, JExpression[] args)
          Construct an AST node for an explicit constructor invocation.
JConstructorDeclaration(TokenReference where, long modifiers, String ident, JFormalParameter[] parameters, CClassType[] exceptions, JConstructorBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree This method is directly called by the parser
JConstructorDeclaration(TokenReference where, long modifiers, String ident)
          Constructs an AST node for a default constructor
JConstructorDeclaration(TokenReference where, long modifiers, String ident, JFormalParameter[] parameters, CClassType[] exceptions, JConstructorBlock body)
          Constructs an AST node for a compiler-generated constructor.
JContinueStatement(TokenReference where, String label, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JDivideExpression(TokenReference where, JExpression left, JExpression right)
          Construct a node in the parsing tree.
JDoStatement(TokenReference where, JExpression cond, JStatement body, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JEmptyStatement(TokenReference where, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JEqualityExpression(TokenReference where, int oper, JExpression left, JExpression right)
          Constructs a node in the parsing tree.
JRealLiteral(TokenReference where, String image)
          Construct a node in the parsing tree
JRealLiteral(TokenReference where, Number value, CType type)
          Construct a node in the parsing tree
JStringLiteral(TokenReference where, String image)
          Construct a node in the parsing tree
JStringLiteral(TokenReference where, String image, boolean escaped)
          Construct a node in the parsing tree
JUnaryExpression(TokenReference where, int oper, JExpression expr)
          Construct a node in the parsing tree.
JMinusExpression(TokenReference where, JExpression left, JExpression right)
          Construct a node in the parsing tree This method is directly called by the parser
JMultExpression(TokenReference where, JExpression left, JExpression right)
          Construct a node in the parsing tree This method is directly called by the parser
JModuloExpression(TokenReference where, JExpression left, JExpression right)
          Construct a node in the parsing tree This method is directly called by the parser
JShiftExpression(TokenReference where, int oper, JExpression left, JExpression right)
          Construct a node in the parsing tree This method is directly called by the parser
JExpressionListStatement(TokenReference where, JExpression[] exprs, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JExpressionStatement(TokenReference where, JExpression expr, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JFieldDeclaration(TokenReference where, JVariableDefinition variable, JavadocComment javadoc, JavaStyleComment[] comments)
          Construct a node in the parsing tree This method is directly called by the parser
JVariableDefinition(TokenReference where, long modifiers, CType type, String ident, JExpression initializer)
          Construct a node in the parsing tree.
JForStatement(TokenReference where, JStatement init, JExpression cond, JStatement incr, JStatement body, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JInstanceofExpression(TokenReference where, JExpression expr, CType dest)
          Construct a node in the parsing tree.
JInterfaceDeclaration(TokenReference where, long modifiers, String ident, CTypeVariable[] typevariables, CClassType[] interfaces, ArrayList methods, ArrayList inners, JPhylum[] fieldsAndInits, JavadocComment javadoc, JavaStyleComment[] comments)
          Constructs an interface declaration in the parsing tree.
JNewObjectExpression(TokenReference where, CClassType objectType, JExpression explicitThis, JExpression[] params)
          Construct a node in the parsing tree.
JNewAnonymousClassExpression(TokenReference where, CClassType objectType, JExpression explicitThis, JExpression[] params, JClassDeclarationType decl)
          Construct a node in the parsing tree.
JNewArrayExpression(TokenReference where, CType arrayType, JArrayDimsAndInits dims)
          Constructs a node in the parsing tree.
JNullLiteral(TokenReference where)
          Construct a node in the parsing tree
JOuterLocalVariableExpression(TokenReference where, JLocalVariable var, CClass outer)
          Construct a node in the parsing tree.
JPackageImport(TokenReference where, String name, JavaStyleComment[] comments)
           
JParenthesedExpression(TokenReference where, JExpression expr)
          Construct a node in the parsing tree.
JPostfixExpression(TokenReference where, int oper, JExpression expr)
          Construct a node in the parsing tree
JPrefixExpression(TokenReference where, int oper, JExpression expr)
          Construct a node in the parsing tree
JRelationalExpression(TokenReference where, int oper, JExpression left, JExpression right)
          Construct a node in the parsing tree.
JResendExpression(TokenReference where, JExpression prefix, JExpression[] args)
           
JSuperExpression(TokenReference where)
          Construct a node for an unqualified super expression.
JSuperExpression(TokenReference where, JExpression prefix)
          Construct a qualified "super" expression node in the AST, where only the qualifying expression is known, not its type.
JSwitchGroup(TokenReference where, JSwitchLabel[] labels, JStatement[] stmts)
          Construct a node in the parsing tree.
JSwitchLabel(TokenReference where, JExpression expr)
          Construct a node in the parsing tree.
JSynchronizedStatement(TokenReference where, JExpression cond, JBlock body, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JThrowStatement(TokenReference where, JExpression expr, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JTryCatchStatement(TokenReference where, JBlock tryClause, JCatchClause[] catchClauses, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JTryFinallyStatement(TokenReference where, JBlock tryClause, JBlock finallyClause, JavaStyleComment[] comments)
          Construct a node in the parsing tree
JTypeDeclarationStatement(TokenReference where, JTypeDeclarationType decl)
          Construct a node in the parsing tree
JTypeNameExpression(TokenReference where, String qualifiedName, CUniverse univ, JNameExpression sourceName)
          Constructs a node in the parsing tree.
JTypeNameExpression(TokenReference where, CClassType type, JNameExpression sourceName)
          Constructs a node in the parsing tree.
JVariableDeclarationStatement(TokenReference where, JVariableDefinition[] vars, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JVariableDeclarationStatement(TokenReference where, JVariableDefinition var, JavaStyleComment[] comments)
          Construct a node in the parsing tree.
JWhileStatement(TokenReference where, JExpression cond, JStatement body, JavaStyleComment[] comments)
          Construct a node in the parsing tree
MJWarnExpression(TokenReference where, String operatorName, JExpression operand, boolean enable_safe_math)
          Construct a node in the parsing tree.
MJWarnExpression(TokenReference where, String operatorName, JExpression operand, boolean enable_safe_math, boolean scope_is_one_op)
          Construct a node in the parsing tree.
MJMathModeExpression(TokenReference where, String operatorName, JExpression operand, byte mode)
          Construct a node in the parsing tree.
MJTopLevelAbstractMethodDeclaration(TokenReference where, long modifiers, CType returnType, CType openClassType, String ident, JFormalParameter[] parameters, CClassType[] exceptions, JBlock body, JavadocComment javadoc, JavaStyleComment[] comments)
          This class represents an abstract MultiJava external method in the syntax tree.
 

Uses of TokenReference in org.multijava.mjdoc.mjdoc_142
 

Fields in org.multijava.mjdoc.mjdoc_142 declared as TokenReference
(package private)  TokenReference MjSourcePosition.token
           
 

Methods in org.multijava.mjdoc.mjdoc_142 with parameters of type TokenReference
 void MjDoc.setRawCommentText(String rawDocumentation, TokenReference tok)
           
 

Constructors in org.multijava.mjdoc.mjdoc_142 with parameters of type TokenReference
MjSourcePosition(TokenReference tok)
          Creates a SourcePosition object, wrapping the given TokenReference.
 

Uses of TokenReference in org.multijava.util.compiler
 

Fields in org.multijava.util.compiler declared as TokenReference
private  TokenReference Phylum.where
           
private  TokenReference PositionedError.where
           
static TokenReference TokenReference.NO_REF
           
private static TokenReference TokenReference.last
           
 

Methods in org.multijava.util.compiler that return TokenReference
abstract  TokenReference PhylumType.getTokenReference()
          Returns the token reference of this node in the source text.
 TokenReference Phylum.getTokenReference()
          Returns the token reference of this node in the source text.
 TokenReference PositionedError.getTokenReference()
          Returns the position in the source code.
static TokenReference TokenReference.build(File file, int line)
          Construct a file and line reference
static TokenReference TokenReference.build(File file, int line, int column)
          Construct a file, line, and column reference.
 TokenReference CToken.makeTokenReference()
           
 

Methods in org.multijava.util.compiler with parameters of type TokenReference
abstract  void PhylumType.setTokenReference(TokenReference where)
          Change the token reference of this node
 void Phylum.setTokenReference(TokenReference where)
          Change the token reference of this node
 PositionedError UnpositionedError.addPosition(TokenReference where)
          Returns an error with a reference to the source file.
 

Constructors in org.multijava.util.compiler with parameters of type TokenReference
Phylum(TokenReference where)
          construct an element of the parsing tree
PositionedError(TokenReference where, Message message)
          An error with a formatted message as argument
PositionedError(TokenReference where, MessageDescription description, Object[] parameters)
          An error with an arbitrary number of parameters
PositionedError(TokenReference where, MessageDescription description, Object parameter1, Object parameter2)
          An error with two parameters
PositionedError(TokenReference where, MessageDescription description, Object parameter)
          An error with one parameter
PositionedError(TokenReference where, MessageDescription description)
          An error without parameters
CWarning(TokenReference where, Message message)
          An error with a formatted message as argument
CWarning(TokenReference where, MessageDescription description, Object[] parameters)
          An error with an arbitrary number of parameters
CWarning(TokenReference where, MessageDescription description, Object parameter1, Object parameter2)
          An error with two parameters
CWarning(TokenReference where, MessageDescription description, Object parameter)
          An error with one parameter
CWarning(TokenReference where, MessageDescription description)
          An error without parameters
 


mjc

mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.