@arcmantle/lit-jsx / compiler/transpiler
compiler/transpiler
Classes
CompiledTranspiler
Defined in: compiler/transpiler.ts:420
Extends
JSXTranspiler<CompiledContext>
Constructors
Constructor
new CompiledTranspiler():
CompiledTranspiler
Returns
Inherited from
JSXTranspiler<CompiledContext>.constructor
Methods
attributes()
attributes(
context):void
Defined in: compiler/transpiler.ts:471
Parameters
context
Returns
void
Overrides
JSXTranspiler.attributes
children()
children(
context):void
Defined in: compiler/transpiler.ts:487
Parameters
context
Returns
void
Overrides
JSXTranspiler.children
closingTag()
closingTag(
context):void
Defined in: compiler/transpiler.ts:524
Parameters
context
Returns
void
Overrides
JSXTranspiler.closingTag
createContext()
protectedcreateContext(path):CompiledContext
Defined in: compiler/transpiler.ts:422
Parameters
path
NodePath<JSXElement | JSXFragment>
Returns
Overrides
JSXTranspiler.createContext
createExpression()
createExpression(
context):Expression
Defined in: compiler/transpiler.ts:528
Parameters
context
Returns
Expression
Overrides
JSXTranspiler.createExpression
createFunctionalComponent()
createFunctionalComponent(
path):Expression
Defined in: compiler/transpiler.ts:538
Parameters
path
NodePath<JSXElement | JSXFragment>
Returns
Expression
Overrides
JSXTranspiler.createFunctionalComponent
functionalComponent()
functionalComponent(
context):void
Defined in: compiler/transpiler.ts:674
Parameters
context
Returns
void
Overrides
JSXTranspiler.functionalComponent
openingTag()
openingTag(
context):void
Defined in: compiler/transpiler.ts:467
Parameters
context
Returns
void
Overrides
JSXTranspiler.openingTag
process()
process(
context):void
Defined in: compiler/transpiler.ts:436
Parameters
context
Returns
void
Overrides
JSXTranspiler.process
start()
start(
path):Expression
Defined in: compiler/transpiler.ts:49
Parameters
path
NodePath<JSXElement | JSXFragment>
Returns
Expression
Inherited from
JSXTranspiler.start
TemplateTranspiler
Defined in: compiler/transpiler.ts:78
Extends
JSXTranspiler<TemplateContext>
Constructors
Constructor
new TemplateTranspiler():
TemplateTranspiler
Returns
Inherited from
JSXTranspiler<TemplateContext>.constructor
Methods
attributes()
attributes(
context):void
Defined in: compiler/transpiler.ts:162
Parameters
context
Returns
void
Overrides
JSXTranspiler.attributes
children()
children(
context):void
Defined in: compiler/transpiler.ts:177
Parameters
context
Returns
void
Overrides
JSXTranspiler.children
closingTag()
closingTag(
context):void
Defined in: compiler/transpiler.ts:210
Parameters
context
Returns
void
Overrides
JSXTranspiler.closingTag
createContext()
protectedcreateContext(path):TemplateContext
Defined in: compiler/transpiler.ts:80
Parameters
path
NodePath<JSXElement | JSXFragment>
Returns
Overrides
JSXTranspiler.createContext
createExpression()
createExpression(
context):Expression
Defined in: compiler/transpiler.ts:222
Parameters
context
Returns
Expression
Overrides
JSXTranspiler.createExpression
createFunctionalComponent()
createFunctionalComponent(
path):Expression
Defined in: compiler/transpiler.ts:268
Parameters
path
NodePath<JSXElement | JSXFragment>
Returns
Expression
Overrides
JSXTranspiler.createFunctionalComponent
functionalComponent()
functionalComponent(
context):void
Defined in: compiler/transpiler.ts:404
Parameters
context
Returns
void
Overrides
JSXTranspiler.functionalComponent
openingTag()
openingTag(
context):void
Defined in: compiler/transpiler.ts:130
Parameters
context
Returns
void
Overrides
JSXTranspiler.openingTag
process()
process(
context):void
Defined in: compiler/transpiler.ts:94
Parameters
context
Returns
void
Overrides
JSXTranspiler.process
start()
start(
path):Expression
Defined in: compiler/transpiler.ts:49
Parameters
path
NodePath<JSXElement | JSXFragment>
Returns
Expression
Inherited from
JSXTranspiler.start
Interfaces
CompiledContext
Defined in: compiler/transpiler.ts:415
Extends
Properties
builder
builder:
CompiledBuilder
Defined in: compiler/transpiler.ts:416
Overrides
currentIndex
currentIndex:
object
Defined in: compiler/transpiler.ts:417
value
value:
number
importsUsed
importsUsed:
Set<"rest"|"html"|"svg"|"htmlStatic"|"svgStatic"|"mathml"|"mathmlStatic"|"unsafeStatic"|"classMap"|"styleMap"|"createRef"|"literalMap"|"taggedTemplateUtil"|"booleanPart"|"attributePart"|"propertyPart"|"elementPart"|"eventPart"|"childPart">
Defined in: compiler/attribute-processor.ts:125
Inherited from
isInitialElement
isInitialElement:
boolean
Defined in: compiler/attribute-processor.ts:124
Inherited from
ProcessorContext.isInitialElement
path
path:
NodePath<JSXElement|JSXFragment>
Defined in: compiler/attribute-processor.ts:122
Inherited from
program
program:
Program
Defined in: compiler/attribute-processor.ts:121
Inherited from
tagName
tagName:
string
Defined in: compiler/attribute-processor.ts:123
Inherited from
TemplateContext
Defined in: compiler/transpiler.ts:73
Extends
Properties
builder
builder:
TemplateBuilder
Defined in: compiler/transpiler.ts:74
Overrides
importsUsed
importsUsed:
Set<"rest"|"html"|"svg"|"htmlStatic"|"svgStatic"|"mathml"|"mathmlStatic"|"unsafeStatic"|"classMap"|"styleMap"|"createRef"|"literalMap"|"taggedTemplateUtil"|"booleanPart"|"attributePart"|"propertyPart"|"elementPart"|"eventPart"|"childPart">
Defined in: compiler/attribute-processor.ts:125
Inherited from
isInitialElement
isInitialElement:
boolean
Defined in: compiler/attribute-processor.ts:124
Inherited from
ProcessorContext.isInitialElement
literalName
literalName:
string
Defined in: compiler/transpiler.ts:75
path
path:
NodePath<JSXElement|JSXFragment>
Defined in: compiler/attribute-processor.ts:122
Inherited from
program
program:
Program
Defined in: compiler/attribute-processor.ts:121
Inherited from
tagName
tagName:
string
Defined in: compiler/attribute-processor.ts:123