api

ast.ch

Declarations in ast.ch

4 declarationshtml_comp

Declarations

Public only
ComponentParam#
Publicstruct
struct ComponentParam { var name : string_view var is_optional : bool }
MountStrategy#
Publicenum
enum MountStrategy { Default, Preact, React, Solid, Universal, Styled }
ComponentSignature#
Publicstruct
struct ComponentSignature { var name : string_view var propsName : string_view var params : vector<ComponentParam> var functionNode : *FunctionDeclaration var hydrateFunctionNode : *FunctionDeclaration var hydrateName : string_view var mountStrategy : MountStrategy var access : AccessSpecifier var rootNodeCount : uint var className : string_view }
make#
functionConstructor
func make() : ComponentSignature
delete#
function
func delete(self : *ComponentSignature) : void
get_module_scoped_name#
Publicfunction
func get_module_scoped_name(functionNode : *ASTNode, name : string_view, str : &string) : void