Class JSXParser
java.lang.Object
org.nustaq.kontraktor.webapp.transpiler.jsx.JSXParser
- All Implemented Interfaces:
ParseUtils
basically a tokenizer with some raw detection of top level definitions
and jsx detection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Fileprotected NodeLibNameResolverstatic booleanFields inherited from interface org.nustaq.kontraktor.webapp.transpiler.jsx.ParseUtils
CountWords, WordCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nustaq.kontraktor.webapp.transpiler.jsx.ParseUtils
readJSString, readRegexp, readSlashComment, readStarComment
-
Field Details
-
SHIM_OBJ_SPREAD
public static boolean SHIM_OBJ_SPREAD -
file
-
libNameResolver
-
defaultExport
-
entityMap
-
-
Constructor Details
-
JSXParser
-
-
Method Details
-
getDefaultExport
-
getTopLevelObjects
-
parseJS
-
getImports
-
getIgnoredRequires
-