api

root.ch

Declarations in root.ch

1 declarationsuniversal_parser

Declarations

Public only
parseUniversalRoot#
Publicfunction
func parseUniversalRoot(parser : *Parser, builder : *ASTBuilder) : *JsBlock
Runtime parse entry for the shared universal_parser. Parses a stream of JS/JSX statements (like a component body) until the end of the token stream, returning a JsBlock. Used by the runtime `universal` package; the CBI plugin keeps its own component-declaration entry in react/macro.ch.