[ClangAstParser] Removes 2 unused functions in ClangGenericParsers
@@ -914,6 +914,7 @@ public class ClangGenericParsers {
* @param string
* @return
*/
+ /*
public static ParserResult<String> parseTypename(StringSlice string) {
// Test on the first word
StringSlice testString = string.getFirstWord();
@@ -936,6 +937,7 @@ public class ClangGenericParsers {
// Cut up to '::', return typename
return new ParserResult<>(string.substring(firstIndex + 2), typename);
}
+ */
/**
* For a string in the format <TEMPLATE><<TYPE>>, returns a string with what is before '<', StringSlide with what is
@@ -948,8 +950,11 @@ public class ClangGenericParsers {
* @param string
* @return
*/
+ /*
public static ParserResult<String> parseTemplate(StringSlice string) {
- StringSlice testString = string.getFirstWord();
+ System.out.println("ASDASDASDASD");
+ // StringSlice testString = string.getFirstWord();
+ String testString = string.next().getWord();
int openIndex = testString.indexOf('<');
int closeIndex = testString.indexOf('>');
@@ -966,6 +971,7 @@ public class ClangGenericParsers {
// Cut up what is outside of '<>', return templateName
return new ParserResult<>(string.substring(openIndex + 1, closeIndex), templateName);
}
+ */
/**
*
