Iniital checkin

This commit is contained in:
2017-09-12 12:48:21 +02:00
commit fd1e04fb62
270 changed files with 87560 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package com.minres.rdl.converter
import org.eclipse.xtext.conversion.impl.AbstractLexerBasedConverter
import org.eclipse.xtext.nodemodel.INode
class IDValueConverter extends AbstractLexerBasedConverter<String> {
override protected String toEscapedString(String value) {
return value
}
override String toValue(String string, INode node) {
if(string.startsWith('\\'))
return string.substring(1)
else
return string
}
}