blob: 88ded9c13a55796614009273399cd799d96cef5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/**
* <copyright>
*
* Copyright (c) 2002-2007 Kolbware and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Kolbware, Bernd Kolb - Initial API and implementation
*
* </copyright>
*
*/
package org.eclipse.xtend.middleend.internal.xpand3;
import org.eclipse.xpand3.Identifier;
import org.eclipse.xtend.backend.common.BackendType;
import org.eclipse.xtend.backend.common.StaticProperty;
/**
* @author Bernd Kolb
*
*/
public class BackendTypeConverter {
public BackendType convertToBackendType(Object ex) {
throw new UnsupportedOperationException("Not yet implemented");
}
public StaticProperty getEnumLiteral(String value) {
throw new UnsupportedOperationException("Not yet implemented");
}
public StaticProperty getEnumLiteral(Identifier name) {
return getEnumLiteral(qualify(name));
}
public static String qualify(Identifier name) {
return name.getValue();
}
}
|