Package org.eclipse.xtext.conversion
Interface IValueConverter.RuleSpecific
-
- All Known Implementing Classes:
AbstractIDValueConverter
,AbstractLexerBasedConverter
,DefaultTerminalConverter
,IDValueConverter
,IgnoreCaseIDValueConverter
,INTValueConverter
,KeywordAlternativeConverter
,KeywordBasedValueConverter
,STRINGValueConverter
- Enclosing interface:
- IValueConverter<Type>
public static interface IValueConverter.RuleSpecific
Value converters that rely on information about the actual rule that is converted, may implement this interface. The framework will set the rule according to the annotation of the method that provides the value converter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setRule(AbstractRule rule)
-
-
-
Method Detail
-
setRule
void setRule(AbstractRule rule) throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
- if the rule doesn't match the expectation of the value converter
-
-