org.eclipse.xtext.conversion
Interface IValueConverterService
- All Known Implementing Classes:
- AbstractDeclarativeValueConverterService, AbstractValueConverterService, DefaultTerminalConverters, Ecore2XtextTerminalConverters, XbaseValueConverterService, Xtend2ValueConverterService, XtextValueConverters
public interface IValueConverterService
- Author:
- Sven Efftinge - Initial contribution and API
Method Summary |
java.lang.String |
toString(java.lang.Object value,
java.lang.String lexerRule)
|
java.lang.Object |
toValue(java.lang.String string,
java.lang.String lexerRule,
INode node)
|
toValue
java.lang.Object toValue(java.lang.String string,
java.lang.String lexerRule,
INode node)
throws ValueConverterException
- Throws:
ValueConverterException
- See Also:
NodeModelUtils.getTokenText(INode)
toString
java.lang.String toString(java.lang.Object value,
java.lang.String lexerRule)