return null;
}
- public static ArrayList<String> getTemplateArg(String line)
+ public static ArrayList<VariableDeclaration> getTemplateArg(String line)
throws ParseException {
InputStream input = new ByteArrayInputStream(line.getBytes());
SpecParser parser = new SpecParser(input);
<OR_EQUALS: "|=">
|
<AND_EQUALS: "&=">
-
|
<SEMI_COLON: ";">
|
FunctionHeader FuncDecl() :
{
- ArrayList<VariableDeclaration> templateList;
String ret;
QualifiedName funcName;
ArrayList<VariableDeclaration> args;
}
{
-aa
(<STATIC> | <INLINE>)*
ret = Type()
funcName = ParseQualifiedName()