Class IDValueConverter

java.lang.Object
org.eclipse.xtext.conversion.impl.AbstractValueConverter<String>
org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter<String>
org.eclipse.xtext.conversion.impl.AbstractIDValueConverter
tools.refinery.language.conversion.IDValueConverter
All Implemented Interfaces:
org.eclipse.xtext.conversion.IValueConverter<String>, org.eclipse.xtext.conversion.IValueConverter.RuleSpecific

public class IDValueConverter extends org.eclipse.xtext.conversion.impl.AbstractIDValueConverter
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.xtext.conversion.IValueConverter

    org.eclipse.xtext.conversion.IValueConverter.RuleSpecific
  • Field Summary

    Fields inherited from interface org.eclipse.xtext.conversion.IValueConverter

    NO_OP_CONVERTER
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Set<String>
    computeValuesToEscape(org.eclipse.xtext.Grammar grammar)
     
    protected boolean
     

    Methods inherited from class org.eclipse.xtext.conversion.impl.AbstractIDValueConverter

    assertValidValue, collectInvalidCharacters, createTokenContentMismatchException, getGrammarAccess, getInvalidCharactersMessage, getValuesToEscape, setGrammarAccess, toEscapedString, toValue

    Methods inherited from class org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter

    assertTokens, assertTokens, 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 Details

    • IDValueConverter

      public IDValueConverter()
  • Method Details

    • computeValuesToEscape

      protected Set<String> computeValuesToEscape(org.eclipse.xtext.Grammar grammar)
      Specified by:
      computeValuesToEscape in class org.eclipse.xtext.conversion.impl.AbstractIDValueConverter
    • mustEscape

      protected boolean mustEscape(String value)
      Specified by:
      mustEscape in class org.eclipse.xtext.conversion.impl.AbstractIDValueConverter