Modifier and Type | Field and Description |
---|---|
static SourceInfo |
SourceInfo.INVALID
Flag value used to indicate missing or erroneous source information
|
SourceInfo |
Token.source
Token source info (filename and line number)
|
Modifier and Type | Method and Description |
---|---|
SourceInfo |
DecafParser.getCurrentSourceInfo(Queue<Token> tokens)
Retrieve the source info associated with the token at the head of the
queue.
|
SourceInfo |
ASTNode.getSourceInfo()
Retrieve the source code information
|
Modifier and Type | Method and Description |
---|---|
void |
MyDecafAnalysis.assertValidParameters(List<ASTNode.DataType> formalTypes,
List<ASTExpression> actualArgs,
SourceInfo src) |
void |
ASTNode.setSourceInfo(SourceInfo source)
Initialize source code information
|
Constructor and Description |
---|
Token(Token.Type type,
String text,
SourceInfo source) |
Copyright © 2019. All rights reserved.