Modifier and Type | Class and Description |
---|---|
class |
SourceAnnotationPosition
An annotation position in a source file with a position inside the annotation.
|
class |
SourcePositionClass
A position in a source file.
|
class |
StringSourcePosition
A position within a text represented by a string.
|
Modifier and Type | Method and Description |
---|---|
SourcePosition |
ErrorStream.getPosition()
Get current source position.
|
SourcePosition |
SourceAnnotation.getPosition()
Get the source position of the annotation.
|
SourcePosition[] |
Source.getPositions()
Get positions for this source.
|
SourcePosition |
Source.newPosition(int line,
int column)
Construct position in this source.
|
SourcePosition |
SourceAnnotation.newPosition(int line,
int column)
Construct position in this source.
|
Modifier and Type | Method and Description |
---|---|
void |
ErrorStream.newError(SourcePosition pos,
java.lang.String message)
Generate a new error.
|
void |
Source.register(SourcePosition pos)
Register position for this source.
|
void |
ErrorStream.setPosition(SourcePosition pos)
Set current source position.
|
Constructor and Description |
---|
SourceAnnotation(SourcePosition pos,
java.lang.String text)
Construct a source annotation.
|
Modifier and Type | Method and Description |
---|---|
SourcePosition |
MiniJavaParser.getPosition() |
SourcePosition |
SpecLangParser.getPosition() |
SourcePosition |
SpecLangParser.getPosition(org.antlr.runtime.Token token) |
Modifier and Type | Method and Description |
---|---|
void |
MiniJavaParser.annotateClass(ClassDeclaration tree,
org.antlr.runtime.Token token,
SourcePosition pos) |
void |
MiniJavaParser.annotateLoop(LoopStatement tree,
org.antlr.runtime.Token token,
SourcePosition pos) |
void |
MiniJavaParser.annotateMethod(ParamDeclaration tree,
org.antlr.runtime.Token token,
SourcePosition pos) |
void |
MiniJavaParser.annotateStatement(Statement tree,
org.antlr.runtime.Token token,
SourcePosition pos) |
void |
MiniJavaParser.annotateUnit(ClassDeclaration tree,
org.antlr.runtime.Token token,
SourcePosition pos) |
Constructor and Description |
---|
SpecLangLexer(org.antlr.runtime.CharStream input,
ErrorStream error,
SourcePosition pos) |
SpecLangParser(org.antlr.runtime.TokenStream input,
ErrorStream error,
SourcePosition pos,
java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
void |
TCCGenerator.prove(java.lang.String name,
SourcePosition position,
Formula formula,
StateType resultType,
Name[] stateVars,
Name[] stateExcs)
Create a new task to prove the given formula.
|
Modifier and Type | Method and Description |
---|---|
void |
TopWindow.addAnnotation(SourcePosition pos,
java.lang.String text)
Add annotation with given text at specified source position.
|
void |
TopWindow.addMarker(SourcePosition pos,
boolean marker)
Add marker at specified source position.
|
void |
TopWindow.displaySource(SourcePosition pos,
boolean marker)
Display source at denoted position.
|
Modifier and Type | Method and Description |
---|---|
SourcePosition |
ASTSourceBase.getPosition()
Get the position of this node in the source code (may be null).
|
SourcePosition |
ASTSource.getPosition()
Get the position of this statement in the source code.
|
Modifier and Type | Method and Description |
---|---|
void |
Identifier.setPosition(SourcePosition position)
Set the position of this identifier in the source code.
|
void |
ASTSourceBase.setPosition(SourcePosition position)
Set the position of this node in the source code.
|
void |
ASTSource.setPosition(SourcePosition position)
Set the position of this statement in the source code.
|
Modifier and Type | Method and Description |
---|---|
SourcePosition |
TypedIdentifier.getPosition()
Get the position of this node in the source code (may be null).
|
SourcePosition |
ExpressionBase.getPosition()
Get the position of this node in the source code (may be null).
|
SourcePosition |
DeclarationBase.getPosition()
Get the position of this node in the source code (may be null).
|
Modifier and Type | Method and Description |
---|---|
void |
TypedIdentifier.setPosition(SourcePosition position)
Set the position of this node in the source code.
|
void |
ExpressionBase.setPosition(SourcePosition position)
Set the position of this node in the source code.
|
void |
DeclarationBase.setPosition(SourcePosition position)
Set the position of this node in the source code.
|
Modifier and Type | Method and Description |
---|---|
SourcePosition |
ProgramAnnotationBase.getPosition()
Get the position of this node in the source code (may be null).
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramAnnotationBase.setPosition(SourcePosition position)
Set the position of this node in the source code.
|
void |
ForLoopStatement.setPosition(SourcePosition position)
Set the position of this node in the source code.
|
Modifier and Type | Method and Description |
---|---|
static UnitSpec |
UnitSpec.construct(java.lang.String text,
ErrorStream error,
SourcePosition pos)
Construct unit specification from denoted text.
|
static ClassSpec |
ClassSpec.construct(java.lang.String text,
ErrorStream error,
SourcePosition pos)
Construct class specification from denoted text.
|
static StatementSpec |
StatementSpec.construct(java.lang.String text,
ErrorStream error,
SourcePosition pos)
Construct method specification from denoted text.
|
static LoopSpec |
LoopSpec.construct(java.lang.String text,
ErrorStream error,
SourcePosition pos)
Construct loop specification from denoted text.
|
static MethodSpec |
MethodSpec.construct(java.lang.String text,
ErrorStream error,
SourcePosition pos)
Construct method specification from denoted text.
|
Modifier and Type | Method and Description |
---|---|
SourcePosition |
TaskBase.getPosition()
Get source code position linked to this task (null, if none)
|
SourcePosition |
Task.getPosition()
Get source code position linked to this task (null, if none)
|
Constructor and Description |
---|
FailedTask(java.lang.String tag,
java.lang.String name,
java.lang.String message,
SourcePosition pos,
java.io.File parent)
Construct a failed task.
|
InvariantTask(ParamSymbol method,
Statement stat,
Formula goal,
Formula invariant,
SourcePosition pos,
Formula cond,
Formula body,
java.io.File parent,
StateType stateType,
java.util.Set<VariableSymbol> variables,
java.util.Set<ClassSymbol> exceptions,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
ErrorStream out)
Construct an invariant verification task.
|
TypeCheckingTask(TheorySymbol tsymbol,
java.lang.String name,
SourcePosition position,
java.io.File dir,
StateType resultType,
Name[] stateVars,
Name[] stateExcs,
java.util.Vector<TheorySymbol> theories,
Declaration[][] decls,
Formula goal,
ErrorStream out)
Create task of proving a type-checking condition.
|