|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TokenReference | |
---|---|
at.dms.compiler | |
at.dms.compiler.antlr.extra | |
at.dms.kjc | |
at.dms.kjc.rstream | |
at.dms.kjc.sir | Contains the heart of the StreamIt Intermediate Representation, or SIR for short. |
Uses of TokenReference in at.dms.compiler |
---|
Fields in at.dms.compiler declared as TokenReference | |
---|---|
static TokenReference |
TokenReference.NO_REF
|
Methods in at.dms.compiler that return TokenReference | |
---|---|
static TokenReference |
TokenReference.build(String file,
int line)
Construct a line and file reference |
TokenReference |
PositionedError.getTokenReference()
Returns the position in the source code. |
TokenReference |
Phylum.getTokenReference()
Returns the token reference of this node in the source text. |
Methods in at.dms.compiler with parameters of type TokenReference | |
---|---|
PositionedError |
UnpositionedError.addPosition(TokenReference where)
Returns an error with a reference to the source file. |
protected void |
TokenReference.deepCloneInto(TokenReference other)
Clones all fields of this into |
void |
Phylum.setTokenReference(TokenReference where)
Update the token reference of this node. |
Constructors in at.dms.compiler with parameters of type TokenReference | |
---|---|
CWarning(TokenReference where,
Message message)
An error with a formatted message as argument |
|
CWarning(TokenReference where,
MessageDescription description)
An error without parameters |
|
CWarning(TokenReference where,
MessageDescription description,
Object parameter)
An error with one parameter |
|
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 |
|
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)
An error without parameters |
|
PositionedError(TokenReference where,
MessageDescription description,
Object parameter)
An error with one parameter |
|
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 |
Uses of TokenReference in at.dms.compiler.antlr.extra |
---|
Methods in at.dms.compiler.antlr.extra that return TokenReference | |
---|---|
protected TokenReference |
Parser.buildTokenReference()
Returns a reference to the current position in the source file. |
TokenReference |
Scanner.getTokenReference()
Returns the reference of the current token in the source file. |
Uses of TokenReference in at.dms.kjc |
---|
Methods in at.dms.kjc with parameters of type TokenReference | |
---|---|
void |
CTryFinallyContext.close(TokenReference ref)
|
void |
CTryContext.close(TokenReference ref)
|
void |
CMethodContext.close(TokenReference ref)
Verify that all checked exceptions are defined in the throw list and return types are valid |
void |
CLabeledContext.close(TokenReference ref)
Verify everything is okay at the end of this context |
void |
CInitializerContext.close(TokenReference ref)
Verify that all checked exceptions are defined in the throw list |
void |
CConstructorContext.close(TokenReference ref)
Verify that all checked exceptions are defined in the throw list |
void |
CCatchContext.close(TokenReference ref)
|
void |
CBodyContext.close(TokenReference ref)
Verify everything is okay at the end of this context |
void |
CBlockContext.close(TokenReference ref)
Verify everything is okay at the end of this context |
protected JFieldAccessExpression |
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 JFieldAccessExpression |
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 ! |
JExpression |
CSourceClass.getOuterLocalAccess(TokenReference ref,
JLocalVariable var,
CMethod constructor)
Gets the code to access outer local vars |
JExpression |
CClassContext.lookupOuterLocalVariable(TokenReference ref,
String ident)
lookupOuterLocalVariable |
JExpression |
CBodyContext.lookupOuterLocalVariable(TokenReference ref,
String ident)
lookupOuterLocalVariable |
static JLiteral |
JLiteral.parseInteger(TokenReference where,
String image)
Constructs an integer (int or long) literal |
static JLiteral |
JLiteral.parseReal(TokenReference where,
String image)
Constructs a real (float or double) literal |
void |
JLocalVariable.setAssigned(TokenReference ref,
CBodyContext context)
|
Constructors in at.dms.kjc with parameters of type TokenReference | |
---|---|
CBlockError(TokenReference where,
Message message)
An error with a formatted message as argument |
|
CBlockError(TokenReference where,
MessageDescription description)
An error without parameters |
|
CBlockError(TokenReference where,
MessageDescription description,
Object parameter)
An error with one parameter |
|
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 |
|
CExpressionError(TokenReference where,
Message message)
An error with a formatted message as argument |
|
CExpressionError(TokenReference where,
MessageDescription description)
An error without parameters |
|
CExpressionError(TokenReference where,
MessageDescription description,
Object parameter)
An error with one parameter |
|
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 |
|
CLineError(TokenReference where,
Message message)
An error with a formatted message as argument |
|
CLineError(TokenReference where,
MessageDescription description)
An error without parameters |
|
CLineError(TokenReference where,
MessageDescription description,
Object parameter)
An error with one parameter |
|
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 |
|
CMethodNotFoundError(TokenReference where,
JMethodCallExpression caller,
String name,
CType[] types)
An error with two parameters |
|
CSourceClass(CClass owner,
TokenReference where,
int modifiers,
String ident,
String qualifiedName,
boolean deprecated)
Constructs a class export from source |
|
JAddExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JArrayAccessExpression(TokenReference where,
JExpression prefix,
JExpression accessor)
This version is the original kopi one; tries to resolve type automatically. |
|
JArrayAccessExpression(TokenReference where,
JExpression prefix,
JExpression accessor,
CType type)
|
|
JArrayInitializer(TokenReference where,
JExpression[] elems)
Construct a node in the parsing tree This method is directly called by the parser |
|
JArrayLengthExpression(TokenReference where,
JExpression prefix)
Construct a node in the parsing tree |
|
JAssignmentExpression(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 This method is directly called by the parser |
|
JBinaryExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JBitwiseComplementExpression(TokenReference where,
JExpression expr)
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 |
|
JBlock(TokenReference where,
JStatement[] body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JBlock(TokenReference where,
List<JStatement> body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
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 |
|
JByteLiteral(TokenReference where,
byte value)
Constructs a literal expression from a constant value. |
|
JCastExpression(TokenReference where,
JExpression expr,
CType dest)
Constructs a node in the parsing tree. |
|
JCatchClause(TokenReference where,
JFormalParameter exception,
JBlock body)
Construct a node in the parsing tree This method is directly called by the parser |
|
JCharLiteral(TokenReference where,
char value)
Construct a node in the parsing tree |
|
JCharLiteral(TokenReference where,
String image)
Construct a node in the parsing tree |
|
JCheckedExpression(TokenReference where,
JExpression checked)
Construct a node in the parsing tree |
|
JClassBlock(TokenReference where,
boolean isStatic,
JStatement[] body)
Construct a node in the parsing tree |
|
JClassDeclaration(TokenReference where,
int modifiers,
String ident,
CClassType superClass,
CClassType[] interfaces,
JFieldDeclaration[] fields,
JMethodDeclaration[] methods,
JTypeDeclaration[] inners,
JPhylum[] initializers,
JavadocComment javadoc,
JavaStyleComment[] comment)
Constructs a class declaration node in the syntax tree. |
|
JClassExpression(TokenReference where,
CType type,
int bounds)
Construct a node in the parsing tree |
|
JClassExpression(TokenReference where,
JExpression prefix,
int bounds)
Construct a node in the parsing tree |
|
JClassFieldDeclarator(TokenReference where,
JFieldDeclaration decl)
Construct a node in the parsing tree |
|
JClassImport(TokenReference where,
String name,
JavaStyleComment[] comments)
Constructs a single-type-import declaration node in the syntax tree. |
|
JCompilationUnit(TokenReference where,
JPackageName packageName,
JPackageImport[] importedPackages,
JClassImport[] importedClasses,
JTypeDeclaration[] typeDeclarations)
Constructs a CompilationUnit with the specified top level context |
|
JCompoundAssignmentExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser Supported operators are Constants.OPE_PLUS, Constants.OPE_MINUS, Constants.OPE_STAR, Constants.OPE_SLASH, Constants.OPE_PERCENT, Constants.OPE_SL, Constants.OPE_SR, Constants.OPE_BSR, Constants.OPE_BAND, Constants.OPE_BOR, Constants.OPE_BXOR |
|
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 This method is directly called by the parser |
|
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,
JConstructorCall constructorCall,
JStatement[] body)
Construct a node in the parsing tree |
|
JConstructorCall(TokenReference where,
boolean functorIsThis,
JExpression[] arguments)
Construct a node in the parsing tree This method is directly called by the parser |
|
JConstructorDeclaration(TokenReference where,
int modifiers,
String ident,
JFormalParameter[] parameters,
CClassType[] exceptions,
JConstructorCall constructorCall,
JStatement[] body,
JavadocComment javadoc,
JavaStyleComment[] comments)
Construct a node in the parsing tree This method is directly called by the parser |
|
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 This method is directly called by the parser |
|
JDoStatement(TokenReference where,
JExpression cond,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JDoubleLiteral(TokenReference where,
double value)
Constructs a literal expression from a constant value. |
|
JDoubleLiteral(TokenReference where,
String image)
Constructs a literal expression from a textual representation. |
|
JEmptyStatement(TokenReference where,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JEqualityExpression(TokenReference where,
boolean equal,
JExpression left,
JExpression right)
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 |
|
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 |
|
JFieldAccessExpression(TokenReference where,
JExpression prefix,
String ident)
Construct a node in the parsing tree |
|
JFieldAccessExpression(TokenReference where,
JExpression prefix,
String ident,
CField field)
You usually don't know the cfield--this is mostly for constructing new accesses from old accesses within the ir. |
|
JFieldAccessExpression(TokenReference where,
String ident)
Construct a node in the parsing tree |
|
JFieldDeclaration(TokenReference where,
JVariableDefinition variable,
JavadocComment javadoc,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JFloatLiteral(TokenReference where,
float value)
Constructs a literal expression from a constant value. |
|
JFloatLiteral(TokenReference where,
String image)
Constructs a literal expression from a textual representation. |
|
JFormalParameter(TokenReference where,
int desc,
CType type,
String ident,
boolean isFinal)
Construct a node in the parsing tree This method is directly called by the parser |
|
JForStatement(TokenReference where,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JGeneratedLocalVariable(TokenReference where,
int modifiers,
CType type,
String name,
JExpression value)
Constructs a local variable definition |
|
JIfStatement(TokenReference where,
JExpression cond,
JStatement thenClause,
JStatement elseClause,
JavaStyleComment[] comments)
Construct a node 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 |
|
JInstanceofExpression(TokenReference where,
JExpression expr,
CType dest)
Construct a node in the parsing tree This method is directly called by the parser |
|
JInterfaceDeclaration(TokenReference where,
int modifiers,
String ident,
CClassType[] interfaces,
JFieldDeclaration[] fields,
JMethodDeclaration[] methods,
JTypeDeclaration[] inners,
JPhylum[] initializers,
JavadocComment javadoc,
JavaStyleComment[] comment)
Constructs an interface declaration node in the syntax tree. |
|
JIntLiteral(TokenReference where,
int value)
Constructs a literal expression from a constant value. |
|
JIntLiteral(TokenReference where,
String image)
Constructs a literal expression from a textual representation. |
|
JLabeledStatement(TokenReference where,
String label,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JLiteral(TokenReference where)
Construct a node in the parsing tree |
|
JLocalVariable(TokenReference where,
int modifiers,
int kind,
CType type,
String name,
JExpression expr)
Constructs a local variable definition |
|
JLocalVariableExpression(TokenReference where,
JLocalVariable variable)
Construct a node in the parsing tree |
|
JLogicalComplementExpression(TokenReference where,
JExpression expr)
Construct a node in the parsing tree |
|
JLongLiteral(TokenReference where,
long value)
Constructs a literal expression from a constant value. |
|
JLongLiteral(TokenReference where,
String image)
Constructs a literal expression from a textual representation. |
|
JLoopStatement(TokenReference where,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JMemberDeclaration(TokenReference where,
JavadocComment javadoc,
JavaStyleComment[] comments)
Construct a node in the parsing tree This method is directly called by the parser |
|
JMethodCallExpression(TokenReference where,
JExpression prefix,
String ident,
JExpression[] args)
Construct a node in the parsing tree This method is directly called by the parser |
|
JMethodCallExpression(TokenReference where,
String ident,
JExpression[] args)
Construct a node with default prefix of This. |
|
JMethodDeclaration(TokenReference where,
int modifiers,
CType returnType,
String ident,
JFormalParameter[] parameters,
CClassType[] exceptions,
JBlock body,
JavadocComment javadoc,
JavaStyleComment[] comments)
Constructs a method declaration node in the syntax tree. |
|
JMinusExpression(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 |
|
JMultExpression(TokenReference where,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JNameExpression(TokenReference where,
JExpression prefix,
String ident)
Construct a node in the parsing tree |
|
JNameExpression(TokenReference where,
String ident)
Construct a node in the parsing tree |
|
JNameExpression(TokenReference where,
String name,
boolean fullyQualified)
Construct a node in the parsing tree |
|
JNewArrayExpression(TokenReference where,
CType type,
JExpression[] dims,
JArrayInitializer init)
Construct a node in the parsing tree This method is directly called by the parser |
|
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)
construct a package name |
|
JPackageName(TokenReference where,
String name,
JavaStyleComment[] comments)
construct a package name |
|
JParenthesedExpression(TokenReference where,
JExpression expr)
Construct a node in the parsing tree This method is directly called by the parser |
|
JPhylum(TokenReference where)
construct an element of 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 |
|
JQualifiedAnonymousCreation(TokenReference where,
JExpression prefix,
String ident,
JExpression[] params,
JClassDeclaration decl)
Construct a node in the parsing tree This method is directly called by the parser |
|
JQualifiedInstanceCreation(TokenReference where,
JExpression prefix,
String ident,
JExpression[] params)
Construct a node in the parsing tree This method is directly called by the parser |
|
JRelationalExpression(TokenReference where,
int oper,
JExpression left,
JExpression right)
Construct a node in the parsing tree This method is directly called by the parser |
|
JReturnStatement(TokenReference where,
JExpression expr,
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 This method is directly called by the parser |
|
JShortLiteral(TokenReference where,
short value)
Constructs a literal expression from a constant value. |
|
JStatement(TokenReference where,
JavaStyleComment[] comments)
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 quoted)
Construct a node in the parsing tree |
|
JSuperExpression(TokenReference where)
Construct a node in the parsing tree |
|
JSwitchGroup(TokenReference where,
JSwitchLabel[] labels,
JStatement[] stmts)
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 This method is directly called by the parser |
|
JSwitchStatement(TokenReference where,
JExpression expr,
JSwitchGroup[] groups,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JSynchronizedStatement(TokenReference where,
JExpression cond,
JStatement body,
JavaStyleComment[] comments)
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 |
|
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 |
|
JTypeDeclaration(TokenReference where,
int modifiers,
String ident,
CClassType[] interfaces,
JFieldDeclaration[] fields,
JMethodDeclaration[] methods,
JTypeDeclaration[] inners,
JPhylum[] initializers,
JavadocComment javadoc,
JavaStyleComment[] comment)
Constructs a type declaration node in the syntax tree. |
|
JTypeDeclarationStatement(TokenReference where,
JTypeDeclaration decl)
Construct a node in the parsing tree |
|
JTypeNameExpression(TokenReference where,
CClassType type)
Construct a node in the parsing tree |
|
JTypeNameExpression(TokenReference where,
String qualifiedName)
Construct a node in the parsing tree |
|
JUnaryExpression(TokenReference where,
JExpression expr)
Construct a node in the parsing tree |
|
JUnaryMinusExpression(TokenReference where,
JExpression expr)
Construct a node in the parsing tree |
|
JUnaryPlusExpression(TokenReference where,
JExpression expr)
Construct a node in the parsing tree |
|
JUnqualifiedAnonymousCreation(TokenReference where,
CClassType objectType,
JExpression[] params,
JClassDeclaration decl)
Construct a node in the parsing tree This method is directly called by the parser |
|
JUnqualifiedInstanceCreation(TokenReference where,
CClassType type,
JExpression[] params)
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 |
|
JVariableDefinition(TokenReference where,
int modifiers,
CType type,
String ident,
JExpression initializer)
Construct a node in the parsing tree This method is directly called by the parser |
|
JWhileStatement(TokenReference where,
JExpression cond,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
Uses of TokenReference in at.dms.kjc.rstream |
---|
Constructors in at.dms.kjc.rstream with parameters of type TokenReference | |
---|---|
Jrstream_pr(TokenReference where,
JStatement[] body,
JavaStyleComment[] comments)
|
Uses of TokenReference in at.dms.kjc.sir |
---|
Constructors in at.dms.kjc.sir with parameters of type TokenReference | |
---|---|
SIRInterfaceTable(TokenReference where,
CClassType iface,
JMethodDeclaration[] methods)
Construct a new interface table. |
|
SIRPeekExpression(TokenReference where,
JExpression arg)
Construct a node in the parsing tree |
|
SIRPrintStatement(TokenReference where,
JExpression arg,
boolean newline,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
SIRPrintStatement(TokenReference where,
JExpression arg,
JavaStyleComment[] comments)
|
|
SIRRegSenderStatement(TokenReference where,
JavaStyleComment[] comments,
String portal,
SIRLatency latency)
Construct a node in the parsing tree |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |