Class JSXGenerator
java.lang.Object
org.nustaq.kontraktor.webapp.transpiler.jsx.JSXGenerator
public class JSXGenerator extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJSXGenerator.ParseResult -
Constructor Summary
Constructors Constructor Description JSXGenerator()JSXGenerator(String transformFunctionName) -
Method Summary
Modifier and Type Method Description static StringcamelCase(String name)voidgenerateJS(TokenNode root, PrintStream out)static JSXGenerator.ParseResultprocess(File f, boolean devmode, NodeLibNameResolver nlib, JNPMConfig config)protected voidrenderSingleNode(TokenNode tokenNode, PrintStream out)protected voidrenderSingleNode(TokenNode tokenNode, PrintStream out, boolean quote)
-
Constructor Details
-
JSXGenerator
public JSXGenerator() -
JSXGenerator
-
-
Method Details
-
generateJS
-
renderSingleNode
-
renderSingleNode
-
camelCase
-
process
public static JSXGenerator.ParseResult process(File f, boolean devmode, NodeLibNameResolver nlib, JNPMConfig config) throws IOException- Throws:
IOException
-