public class JSXParser extends Object implements ParseUtils
| Modifier and Type | Field and Description |
|---|---|
protected String |
defaultExport |
static Map<String,Character> |
entityMap |
protected File |
file |
protected NodeLibNameResolver |
libNameResolver |
static boolean |
SHIM_OBJ_SPREAD |
| Constructor and Description |
|---|
JSXParser(File f,
NodeLibNameResolver libNameResolver) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultExport() |
HashSet<String> |
getIgnoredRequires() |
List<ImportSpec> |
getImports() |
List<String> |
getTopLevelObjects() |
void |
parseJS(TokenNode cur,
Inp in) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadJSString, readRegexp, readSlashComment, readStarCommentpublic static boolean SHIM_OBJ_SPREAD
protected File file
protected NodeLibNameResolver libNameResolver
protected String defaultExport
public JSXParser(File f, NodeLibNameResolver libNameResolver)
Copyright © 2019. All rights reserved.