|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for the OCL parser.
Method Summary | |
IOclModel |
getOclModel(org.eclipse.core.resources.IResource resource)
Returns the OCL model for the given OCL file. |
IOclModel |
getOclModel(java.lang.String oclInput)
Returns the OCL model for the given OCL input. |
IOclParserError[] |
syntaxCheck(org.eclipse.core.resources.IResource resource)
Checks the OCL file if it is syntactically correct. |
IOclParserError[] |
typeCheck(org.eclipse.core.resources.IResource resource)
Checks the OCL file if it is semantically correct; this means if it conforms to the Java modell. |
Method Detail |
public IOclParserError[] syntaxCheck(org.eclipse.core.resources.IResource resource)
resource
- OCL file resource.
public IOclParserError[] typeCheck(org.eclipse.core.resources.IResource resource)
resource
- OCL file resource.
public IOclModel getOclModel(org.eclipse.core.resources.IResource resource)
resource
- OCL file resource.
null
in case of an error.public IOclModel getOclModel(java.lang.String oclInput)
null
in case of an error.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |