public class TheoryReader
extends java.lang.Object
Constructor and Description |
---|
TheoryReader(Source source,
ErrorStream error)
Create a reader of a class declaration.
|
Modifier and Type | Method and Description |
---|---|
Source |
getSource()
Get source for class reader.
|
boolean |
isModified()
Indicate whether declaration has been modified.
|
TheoryDeclaration |
read()
Read the theory declaration.
|
public TheoryReader(Source source, ErrorStream error)
source
- the source for the class declaration.error
- the stream where to report errors.public Source getSource()
public boolean isModified()
public TheoryDeclaration read()