Class GenericStoExParserImpl
- java.lang.Object
-
- org.palladiosimulator.commons.stoex.api.impl.generic.GenericStoExParserImpl
-
- All Implemented Interfaces:
GenericStoExParser
- Direct Known Subclasses:
PlainStoExParserImpl
public abstract class GenericStoExParserImpl extends Object implements GenericStoExParser
Wrapper for the Xtext StoEx parser.
-
-
Constructor Summary
Constructors Constructor Description GenericStoExParserImpl(javax.inject.Provider<org.eclipse.xtext.parser.IParser> parserProvider)
Constructs new parser instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
parse(String serializedStoEx)
Parse a serialized StoEx into anExpression
.
-
-
-
Method Detail
-
parse
public Expression parse(String serializedStoEx) throws ParseException
Description copied from interface:GenericStoExParser
Parse a serialized StoEx into anExpression
.- Specified by:
parse
in interfaceGenericStoExParser
- Parameters:
serializedStoEx
- The serialized StoEx.- Returns:
- The parsed
Expression
instance. - Throws:
ParseException
- thrown in case of a syntax error.
-
-