|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.xtext.conversion.impl.AbstractValueConverter<T>
org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter<java.lang.String>
org.eclipse.xtext.conversion.impl.STRINGValueConverter
public class STRINGValueConverter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.xtext.conversion.IValueConverter |
|---|
IValueConverter.RuleSpecific |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.xtext.conversion.IValueConverter |
|---|
NO_OP_CONVERTER |
| Constructor Summary | |
|---|---|
STRINGValueConverter()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
toEscapedString(java.lang.String value)
|
java.lang.String |
toValue(java.lang.String string,
INode node)
Creates a value from the given input. |
| Methods inherited from class org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter |
|---|
assertTokens, assertValidValue, createTokenContentMismatchException, createTokenTypeMismatchException, getLexer, getLexerProvider, getRule, getRuleName, getRuleName, getTokenDefMap, getTokenDefProvider, getTokenSource, setLexerProvider, setRule, setTokenDefProvider, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public STRINGValueConverter()
| Method Detail |
|---|
protected java.lang.String toEscapedString(java.lang.String value)
toEscapedString in class AbstractLexerBasedConverter<java.lang.String>
public java.lang.String toValue(java.lang.String string,
INode node)
IValueConverterCreates a value from the given input. The input is conformant to a data type or terminal rule.
The given string
or node may be null but not both of them.
string - the string that was inferred from the node. Usually the node's text
but may be reduced to the parts of the node that are not
hidden.node - the parsed node including hidden parts.
null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||