public class ScopeParser extends Object
| Constructor and Description |
|---|
ScopeParser() |
| Modifier and Type | Method and Description |
|---|---|
static int |
_splitArgumentList(String actionText,
int start,
int targetChar,
int separatorChar,
List<String> args) |
static AttributeDict |
parse(String s,
char separator,
ErrorManager errMgr) |
static Attribute |
parseAttributeDef(String decl,
ErrorManager errMgr)
For decls like "String foo" or "char *foo32[]" compute the ID
and type declarations.
|
static AttributeDict |
parseTypedArgList(String s,
ErrorManager errMgr)
Given an arg or retval scope definition list like
Map
|
static List<String> |
splitDecls(String s,
int separatorChar)
Given an argument list like
x, (*a).foo(21,33), 3.2+1, '\n',
"a,oo\nick", {bl, "fdkj"eck}, ["cat\n,", x, 43]
convert to a list of attributes.
|
public static AttributeDict parseTypedArgList(String s, ErrorManager errMgr)
public static AttributeDict parse(String s, char separator, ErrorManager errMgr)
public static Attribute parseAttributeDef(String decl, ErrorManager errMgr)
public static List<String> splitDecls(String s, int separatorChar)
Copyright © 2012. All Rights Reserved.