|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TokenReference | |
at.dms.compiler | |
at.dms.kjc | |
at.dms.ksm |
Uses of TokenReference in at.dms.compiler |
Fields in at.dms.compiler declared as TokenReference | |
static TokenReference |
TokenReference.NO_REF
Special reference to use when no reference is available or possible. |
Methods in at.dms.compiler that return TokenReference | |
TokenReference |
Phylum.getTokenReference()
Returns the token reference of this node in the source text. |
TokenReference |
PositionedError.getTokenReference()
Returns the position in the source code. |
protected TokenReference |
Parser.buildTokenReference()
Returns a reference to the current position in the source file. |
static TokenReference |
TokenReference.build(java.lang.String file,
int line)
Construct a line and file reference |
TokenReference |
Scanner.getTokenReference()
Returns the reference of the current token in the source file. |
Methods in at.dms.compiler with parameters of type TokenReference | |
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 at.dms.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,
java.lang.Object[] parameters)
An error with an arbitrary number of parameters. |
|
PositionedError(TokenReference where,
MessageDescription description,
java.lang.Object parameter1,
java.lang.Object parameter2)
An error with two parameters. |
|
PositionedError(TokenReference where,
MessageDescription description,
java.lang.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,
java.lang.Object[] parameters)
An error with an arbitrary number of parameters |
|
CWarning(TokenReference where,
MessageDescription description,
java.lang.Object parameter1,
java.lang.Object parameter2)
An error with two parameters |
|
CWarning(TokenReference where,
MessageDescription description,
java.lang.Object parameter)
An error with one parameter |
|
CWarning(TokenReference where,
MessageDescription description)
An error without parameters |
Uses of TokenReference in at.dms.kjc |
Methods in at.dms.kjc that return TokenReference | |
protected TokenReference |
KjcParser.buildTokenReference()
Returns a reference to the current position in the source file. |
Methods in at.dms.kjc with parameters of type TokenReference | |
void |
CAbstractBodyContext.close(TokenReference ref)
Verify everything is okay at the end of this context. |
JExpression |
CAbstractBodyContext.lookupOuterLocalVariable(TokenReference ref,
java.lang.String ident)
lookupOuterLocalVariable |
void |
CBlockContext.close(TokenReference ref)
Verify everything is okay at the end of this context |
void |
CTryContext.close(TokenReference ref)
Closes this TryContext. |
void |
JLocalVariable.setAssigned(TokenReference ref,
CBodyContext context)
|
protected JClassFieldExpression |
JNameExpression.createClassField(TokenReference ref,
JExpression prefix,
java.lang.String ident)
Since class field may be overloaded in sub compiler, this method allows you to specify the type of class field without needed to touch the huge method above ! |
protected JClassFieldExpression |
JNameExpression.createClassField(TokenReference ref,
java.lang.String ident)
Since class field may be overloaded in sub compiler, this method allows you to specify the type of class field without needed to touch the huge method above ! |
void |
CMethodContext.close(TokenReference ref)
Verify that all checked exceptions are defined in the throw list and return types are valid. |
static JExpression |
JAssignmentExpression.create(TokenReference where,
int oper,
JExpression left,
JExpression right)
... |
void |
CConstructorContext.close(TokenReference ref)
Verify that all checked exceptions are defined in the throw list. |
JExpression |
CSourceClass.getOuterLocalAccess(TokenReference ref,
JLocalVariable var,
CMethod constructor)
Gets the code to access outer local vars. |
JExpression |
CClassContext.lookupOuterLocalVariable(TokenReference ref,
java.lang.String ident)
lookupOuterLocalVariable |
Constructors in at.dms.kjc with parameters of type TokenReference | |
JPhylum(TokenReference where)
construct an element of the parsing tree |
|
JExpression(TokenReference where)
Construct a node in the parsing tree |
|
JLiteral(TokenReference where)
Construct a node in the parsing tree. |
|
JNumberLiteral(TokenReference where)
Construct a node in the parsing tree |
|
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)
Construct a node in the parsing tree. |
|
JModuloExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JSwitchLabel(TokenReference where,
JExpression expr)
Construct a node in the parsing tree. |
|
JStatement(TokenReference where,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JTypeDeclarationStatement(TokenReference where,
JTypeDeclaration decl)
Construct a node in the parsing tree. |
|
JTryCatchStatement(TokenReference where,
JBlock tryClause,
JCatchClause[] catchClauses,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JShiftExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JBitwiseExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JBlock(TokenReference where,
JStatement[] body,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JEmptyStatement(TokenReference where,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JContinueStatement(TokenReference where,
java.lang.String label,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JPackageName(TokenReference where,
java.lang.String name,
JavaStyleComment[] comments)
Constructs a package name. |
|
JClassFieldExpression(TokenReference where,
JExpression prefix,
java.lang.String ident)
Construct a node in the parsing tree. |
|
JClassFieldExpression(TokenReference where,
java.lang.String ident)
Construct a node in the parsing tree. |
|
JMemberDeclaration(TokenReference where,
JavadocComment javadoc,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JMethodDeclaration(TokenReference where,
int modifiers,
CType returnType,
java.lang.String ident,
JFormalParameter[] parameters,
CClassType[] exceptions,
JBlock body,
JavadocComment javadoc,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JConstructorDeclaration(TokenReference where,
int modifiers,
java.lang.String ident,
JFormalParameter[] parameters,
CClassType[] exceptions,
JConstructorBlock body,
JavadocComment javadoc,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JOrdinalLiteral(TokenReference where,
java.lang.String image)
Construct a node in the parsing tree. |
|
JOrdinalLiteral(TokenReference where,
java.lang.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. |
|
JCharLiteral(TokenReference where,
java.lang.String image)
Construct a node in the parsing tree. |
|
JCharLiteral(TokenReference where,
char val)
Construct a node in the parsing tree. |
|
JCharLiteral(TokenReference where,
java.lang.Object val)
Construct a node in the parsing tree |
|
JCharLiteral(TokenReference where,
java.lang.String image,
boolean quoted)
Construct 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 |
|
JExpressionListStatement(TokenReference where,
JExpression[] exprs,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JMultExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JCatchClause(TokenReference where,
JFormalParameter exception,
JBlock body)
Construct a node in the parsing tree. |
|
JThisExpression(TokenReference where)
Construct a node in the parsing tree. |
|
JThisExpression(TokenReference where,
CClass self)
Construct a node in the parsing tree. |
|
JThisExpression(TokenReference where,
JExpression prefix)
Construct a node in the parsing tree. |
|
JSuperExpression(TokenReference where)
Construct a node in the parsing tree. |
|
JSuperExpression(TokenReference where,
JExpression prefix)
Construct a node in the parsing tree. |
|
JLocalVariable(TokenReference where,
int modifiers,
int desc,
CType type,
java.lang.String name,
JExpression initializer)
Constructs a local variable reference. |
|
JVariableDefinition(TokenReference where,
int modifiers,
CType type,
java.lang.String ident,
JExpression initializer)
Construct a node in the parsing tree. |
|
JNullLiteral(TokenReference where)
Construct a node in the parsing tree |
|
JPrefixExpression(TokenReference where,
int oper,
JExpression expr)
Construct a node in the parsing tree |
|
JEqualityExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JNameExpression(TokenReference where,
java.lang.String ident)
Construct a node in the parsing tree. |
|
JNameExpression(TokenReference where,
JExpression prefix,
java.lang.String ident)
Construct a node in the parsing tree. |
|
JNameExpression(TokenReference where,
java.lang.String name,
boolean fullyQualified)
Construct a node in the parsing tree. |
|
JInstanceofExpression(TokenReference where,
JExpression expr,
CType dest)
Construct a node in the parsing tree This method is directly called by the parser |
|
CBlockError(TokenReference where,
Message message)
An error with a formatted message as argument. |
|
CBlockError(TokenReference where,
MessageDescription description,
java.lang.Object[] parameters)
An error with an arbitrary number of parameters. |
|
CBlockError(TokenReference where,
MessageDescription description,
java.lang.Object parameter1,
java.lang.Object parameter2)
An error with two parameters. |
|
CBlockError(TokenReference where,
MessageDescription description,
java.lang.Object parameter)
An error with one parameter. |
|
CBlockError(TokenReference where,
MessageDescription description)
An error without parameters. |
|
JLoopStatement(TokenReference where,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JWhileStatement(TokenReference where,
JExpression condition,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JExpressionStatement(TokenReference where,
JExpression expression,
JavaStyleComment[] comments)
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 |
|
JStringLiteral(TokenReference where,
java.lang.String image)
Construct a node in the parsing tree |
|
JStringLiteral(TokenReference where,
java.lang.String image,
boolean quoted)
Construct a node in the parsing tree |
|
JNewObjectExpression(TokenReference where,
CClassType objectType,
JExpression explicitThis,
java.lang.String identifier,
JExpression[] args)
Construct a node in the parsing tree. |
|
JNewAnonymousClassExpression(TokenReference where,
CClassType objectType,
JExpression explicitThis,
java.lang.String identifier,
JExpression[] args,
JClassDeclaration decl)
Construct a node in the parsing tree. |
|
JForStatement(TokenReference where,
JStatement init,
JExpression condition,
JStatement incr,
JStatement body,
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. |
|
JCompoundStatement(TokenReference where,
JStatement[] body)
Construct a node in the parsing tree |
|
JUnaryExpression(TokenReference where,
int oper,
JExpression expr)
Construct a node in the parsing tree |
|
CMethodNotFoundError(TokenReference where,
JMethodCallExpression caller,
java.lang.String name,
CType[] types)
Constructs an error with information about the method call. |
|
JArrayInitializer(TokenReference where,
JExpression[] elems)
Construct a node in the parsing tree This method is directly called by the parser |
|
JReturnStatement(TokenReference where,
JExpression expression,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JClassFieldDeclarator(TokenReference where,
JFieldDeclaration decl)
Construct a node in the parsing tree |
|
JNewArrayExpression(TokenReference where,
CType baseType,
JArrayDimsAndInits dims)
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 |
|
JTypeDeclaration(TokenReference where,
int modifiers,
java.lang.String ident,
CClassType[] interfaces,
JFieldDeclaration[] fields,
JMethodDeclaration[] methods,
JTypeDeclaration[] inners,
JPhylum[] initializers,
JavadocComment javadoc,
JavaStyleComment[] comments)
Constructs a type declaration in the parsing tree. |
|
JClassDeclaration(TokenReference where,
int modifiers,
java.lang.String ident,
java.lang.String superName,
CClassType[] interfaces,
JFieldDeclaration[] fields,
JMethodDeclaration[] methods,
JTypeDeclaration[] inners,
JPhylum[] initializers,
JavadocComment javadoc,
JavaStyleComment[] comment)
Construct a node in the parsing tree. |
|
JTypeNameExpression(TokenReference where,
java.lang.String qualifiedName)
Construct a node in the parsing tree. |
|
JTypeNameExpression(TokenReference where,
CClassType type)
Construct a node in the parsing tree |
|
JDivideExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JParenthesedExpression(TokenReference where,
JExpression expr)
Construct a node in the parsing tree This method is directly called by the parser |
|
JInitializerDeclaration(TokenReference where,
JBlock body,
boolean isStatic,
boolean isDummy)
Construct a node in the parsing tree. |
|
JAssignmentExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JCompoundAssignmentExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JLocalVariableExpression(TokenReference where,
JLocalVariable variable)
Construct a node in the parsing tree. |
|
JOuterLocalVariableExpression(TokenReference where,
JLocalVariable var,
CClass outer)
Construct a node in the parsing tree |
|
JCastExpression(TokenReference where,
JExpression expr,
CType dest)
Constructs a node in the parsing tree. |
|
JGeneratedLocalVariable(TokenReference where,
int modifiers,
CType type,
java.lang.String name,
JExpression value)
Constructs a local variable definition. |
|
JPostfixExpression(TokenReference where,
int oper,
JExpression expr)
Construct a node in the parsing tree |
|
JClassImport(TokenReference where,
java.lang.String name,
JavaStyleComment[] comments)
construct a class name |
|
JFieldDeclaration(TokenReference where,
JVariableDefinition variable,
JavadocComment javadoc,
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. |
|
JExplicitConstructorInvocation(TokenReference where,
JExpression prefix,
java.lang.String ident,
JExpression[] args)
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 |
|
JClassBlock(TokenReference where,
boolean isStatic,
JStatement[] body)
Construct a node in the parsing tree |
|
CSourceClass(Compiler compiler,
CClass owner,
JTypeDeclaration counterPart,
TokenReference where,
int modifiers,
java.lang.String ident,
java.lang.String qualifiedName,
boolean deprecated)
Constructs a class export from source |
|
JLabeledStatement(TokenReference where,
java.lang.String label,
JStatement statement,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JArrayDimsAndInits(TokenReference where,
JExpression[] dims,
JArrayInitializer init)
Constructor arr: brackets |
|
JSwitchGroup(TokenReference where,
JSwitchLabel[] labels,
JStatement[] statements)
Construct a node in the parsing tree This method is directly called by the parser |
|
CLineError(TokenReference where,
Message message)
An error with a formatted message as argument. |
|
CLineError(TokenReference where,
MessageDescription description,
java.lang.Object[] parameters)
An error with an arbitrary number of parameters. |
|
CLineError(TokenReference where,
MessageDescription description,
java.lang.Object parameter1,
java.lang.Object parameter2)
An error with two parameters. |
|
CLineError(TokenReference where,
MessageDescription description,
java.lang.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,
java.lang.Object[] parameters)
An error with an arbitrary number of parameters. |
|
CExpressionError(TokenReference where,
MessageDescription description,
java.lang.Object parameter1,
java.lang.Object parameter2)
An error with two parameters. |
|
CExpressionError(TokenReference where,
MessageDescription description,
java.lang.Object parameter)
An error with one parameter. |
|
CExpressionError(TokenReference where,
MessageDescription description)
An error without parameters. |
|
JCheckedExpression(TokenReference where,
JExpression checked)
Construct a node in the parsing tree |
|
JFormalParameter(TokenReference where,
int desc,
CType type,
java.lang.String ident,
boolean isFinal)
Construct a node in the parsing tree This method is directly called by the parser |
|
JThrowStatement(TokenReference where,
JExpression expression,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JInterfaceDeclaration(TokenReference where,
int modifiers,
java.lang.String shortName,
CClassType[] interfaces,
JFieldDeclaration[] fields,
JMethodDeclaration[] methods,
JTypeDeclaration[] inners,
JPhylum[] initializers,
JavadocComment javadoc,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JBooleanLiteral(TokenReference where,
boolean value)
Construct a node in the parsing tree. |
|
JDoStatement(TokenReference where,
JExpression condition,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JBreakStatement(TokenReference where,
java.lang.String label,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JRelationalExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
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 |
|
JClassExpression(TokenReference where,
CType type)
Construct a node in the parsing tree |
|
JClassExpression(TokenReference where,
JExpression expr,
int bounds)
Construct a node in the parsing tree |
|
JRealLiteral(TokenReference where,
java.lang.String image)
Construct a node in the parsing tree. |
|
JRealLiteral(TokenReference where,
java.lang.Number value,
CType type)
Construct a node in the parsing tree. |
|
JPackageImport(TokenReference where,
java.lang.String name,
JavaStyleComment[] comments)
construct a package name |
|
JArrayLengthExpression(TokenReference where,
JExpression prefix)
Construct a node in the parsing tree. |
|
JAddExpression(TokenReference where,
JExpression left,
JExpression right)
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 condition,
JExpression left,
JExpression right)
Construct a node in the parsing tree. |
|
JIfStatement(TokenReference where,
JExpression condition,
JStatement thenClause,
JStatement elseClause,
JavaStyleComment[] comments)
Construct a node in the parsing tree. |
|
JCompilationUnit(TokenReference where,
JPackageName packageName,
JPackageImport[] importedPackages,
JClassImport[] importedClasses,
JTypeDeclaration[] typeDeclarations)
Constructs a CompilationUnit with the specified top level context |
|
JConditionalOrExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JSynchronizedStatement(TokenReference where,
JExpression cond,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
Uses of TokenReference in at.dms.ksm |
Fields in at.dms.ksm declared as TokenReference | |
protected TokenReference |
KsmError.where
Location in source where the error happened. |
Constructors in at.dms.ksm with parameters of type TokenReference | |
KsmError(TokenReference where,
Message message)
An error with a formatted message as argument. |
|
KsmError(TokenReference where,
MessageDescription desc,
java.lang.Object[] params)
An error with with an arbitrary number of parameters. |
|
KsmError(TokenReference where,
MessageDescription desc,
java.lang.Object param1,
java.lang.Object param2)
An error with two parameters |
|
KsmError(TokenReference where,
MessageDescription desc,
java.lang.Object param)
An error with one parameter. |
|
KsmError(TokenReference where,
MessageDescription desc)
An error without parameters. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |