|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.oclparser.internal.core.OclParserDresden
Implements the parser interface and uses the parser of the OCL Dresden Toolkit.
| Constructor Summary | |
OclParserDresden()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OclParserDresden()
| Method Detail |
public IOclParserError[] syntaxCheck(org.eclipse.core.resources.IResource resource)
IOclParser
syntaxCheck in interface IOclParserresource - OCL file resource.
public IOclParserError[] typeCheck(org.eclipse.core.resources.IResource resource)
IOclParser
typeCheck in interface IOclParserresource - OCL file resource.
public IOclModel getOclModel(org.eclipse.core.resources.IResource resource)
IOclParser
getOclModel in interface IOclParserresource - OCL file resource.
null in case of an error.public IOclModel getOclModel(java.lang.String oclInput)
IOclParser
getOclModel in interface IOclParsernull in case of an error.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||