Preparing search index...
The search index is not available
Nota
Nota
@nota-lang/nota-syntax
translate
Translator
Class Translator
Hierarchy
Translator
Index
Constructors
constructor
Properties
abstract?
exports
imports
input
line
Map
ref
Links
title?
Methods
extract
Delimited
find
Ref
Links
ident
markdown
Children
spanned
text
translate
Inline
Or
Block
Sequence
translate
Js
Block
translate
Js
Declaration
translate
Js
Export
Declaration
translate
Js
Expr
translate
Js
Import
Declaration
translate
Js
Lval
translate
Js
Pattern
translate
Js
Property
translate
Js
Stmt
translate
Js
String
translate
Md
Block
translate
Md
Block
Sequence
translate
Md
Document
translate
Md
Inline
translate
Md
Inline
Sequence
translate
Nota
Block
Attribute
translate
Nota
Block
Component
translate
Nota
Command
Name
translate
Nota
Expr
translate
Nota
Inline
Attrs
translate
Nota
Inline
Component
translate
Nota
Inline
Content
translate
Nota
Interpolation
translate
Nota
Template
translate
Nota
Template
External
Constructors
constructor
new
Translator
(
input
:
string
, tree
:
Tree
)
:
Translator
Parameters
input:
string
tree:
Tree
Returns
Translator
Properties
Optional
abstract
abstract
?:
Expression
exports
exports
:
Set
<
ExportDeclaration
>
= ...
imports
imports
:
Set
<
ImportDeclaration
>
= ...
input
input
:
string
line
Map
line
Map
:
LineMap
Private
ref
Links
ref
Links
:
{
[name:
string
]
:
string
}
= {}
Type declaration
[
name:
string
]:
string
Optional
title
title
?:
Expression
Methods
Private
extract
Delimited
extract
Delimited
(
node
:
SyntaxNode
, ignore
?:
number
[]
)
:
SyntaxNode
[]
Parameters
node:
SyntaxNode
ignore:
number
[]
= ...
Returns
SyntaxNode
[]
Private
find
Ref
Links
find
Ref
Links
(
tree
:
Tree
)
:
void
Parameters
tree:
Tree
Returns
void
ident
ident
(
cursor
:
SyntaxNode
)
:
Identifier
Parameters
cursor:
SyntaxNode
Returns
Identifier
Private
markdown
Children
markdown
Children
(
node
:
SyntaxNode
)
:
MarkdownChildren
Parameters
node:
SyntaxNode
Returns
MarkdownChildren
Private
spanned
spanned
<
T
>
(
jsNode
:
T
, lezerNode
:
SyntaxNode
)
:
T
Type Parameters
T
Parameters
jsNode:
T
lezerNode:
SyntaxNode
Returns
T
text
text
(
cursor
:
SyntaxNode
|
SyntaxNodeRef
)
:
string
Parameters
cursor:
SyntaxNode
|
SyntaxNodeRef
Returns
string
translate
Inline
Or
Block
Sequence
translate
Inline
Or
Block
Sequence
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Js
Block
translate
Js
Block
(
node
:
SyntaxNode
)
:
BlockStatement
Parameters
node:
SyntaxNode
Returns
BlockStatement
translate
Js
Declaration
translate
Js
Declaration
(
node
:
SyntaxNode
)
:
Declaration
Parameters
node:
SyntaxNode
Returns
Declaration
translate
Js
Export
Declaration
translate
Js
Export
Declaration
(
node
:
SyntaxNode
)
:
ExportDeclaration
Parameters
node:
SyntaxNode
Returns
ExportDeclaration
translate
Js
Expr
translate
Js
Expr
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Js
Import
Declaration
translate
Js
Import
Declaration
(
node
:
SyntaxNode
)
:
ImportDeclaration
Parameters
node:
SyntaxNode
Returns
ImportDeclaration
translate
Js
Lval
translate
Js
Lval
(
node
:
SyntaxNode
)
:
LVal
Parameters
node:
SyntaxNode
Returns
LVal
translate
Js
Pattern
translate
Js
Pattern
(
node
:
SyntaxNode
)
:
PatternLike
Parameters
node:
SyntaxNode
Returns
PatternLike
translate
Js
Property
translate
Js
Property
(
node
:
SyntaxNode
)
:
ObjectProperty
|
SpreadElement
Parameters
node:
SyntaxNode
Returns
ObjectProperty
|
SpreadElement
translate
Js
Stmt
translate
Js
Stmt
(
node
:
SyntaxNode
)
:
Statement
Parameters
node:
SyntaxNode
Returns
Statement
translate
Js
String
translate
Js
String
(
node
:
SyntaxNode
)
:
StringLiteral
Parameters
node:
SyntaxNode
Returns
StringLiteral
translate
Md
Block
translate
Md
Block
(
node
:
SyntaxNode
)
:
[
Expression
,
Statement
[]
]
Parameters
node:
SyntaxNode
Returns
[
Expression
,
Statement
[]
]
translate
Md
Block
Sequence
translate
Md
Block
Sequence
(
node
:
SyntaxNode
, ignore
?:
number
[]
)
:
Expression
Parameters
node:
SyntaxNode
ignore:
number
[]
= []
Returns
Expression
translate
Md
Document
translate
Md
Document
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Md
Inline
translate
Md
Inline
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Md
Inline
Sequence
translate
Md
Inline
Sequence
(
sequence
:
MarkdownChildren
)
:
Expression
[]
Parameters
sequence:
MarkdownChildren
Returns
Expression
[]
translate
Nota
Block
Attribute
translate
Nota
Block
Attribute
(
node
:
SyntaxNode
)
:
ObjectProperty
Parameters
node:
SyntaxNode
Returns
ObjectProperty
translate
Nota
Block
Component
translate
Nota
Block
Component
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Nota
Command
Name
translate
Nota
Command
Name
(
node
:
SyntaxNode
, terms
?:
Terms
)
:
Expression
Parameters
node:
SyntaxNode
terms:
Terms
= mdTerms
Returns
Expression
translate
Nota
Expr
translate
Nota
Expr
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Nota
Inline
Attrs
translate
Nota
Inline
Attrs
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Nota
Inline
Component
translate
Nota
Inline
Component
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Nota
Inline
Content
translate
Nota
Inline
Content
(
node
:
SyntaxNode
)
:
Expression
[]
Parameters
node:
SyntaxNode
Returns
Expression
[]
translate
Nota
Interpolation
translate
Nota
Interpolation
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Nota
Template
translate
Nota
Template
(
node
:
SyntaxNode
)
:
Expression
Parameters
node:
SyntaxNode
Returns
Expression
translate
Nota
Template
External
translate
Nota
Template
External
(
parent
:
SyntaxNode
)
:
Expression
Parameters
parent:
SyntaxNode
Returns
Expression
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Nota
@nota-
lang/esbuild-
utils
@nota-
lang/nota-
common
either
nota
Text
option
result
@nota-
lang/nota-
components
bibliography
code
commentary
correspondence
definitions
document
header
language
loader
logger
math
plugin
portal
tex
togglebox
tooltip
utils
vega
@nota-
lang/nota-
editor
@nota-
lang/nota-
syntax
editor
parse
translate
Translator
constructor
abstract?
exports
imports
input
line
Map
ref
Links
title?
extract
Delimited
find
Ref
Links
ident
markdown
Children
spanned
text
translate
Inline
Or
Block
Sequence
translate
Js
Block
translate
Js
Declaration
translate
Js
Export
Declaration
translate
Js
Expr
translate
Js
Import
Declaration
translate
Js
Lval
translate
Js
Pattern
translate
Js
Property
translate
Js
Stmt
translate
Js
String
translate
Md
Block
translate
Md
Block
Sequence
translate
Md
Document
translate
Md
Inline
translate
Md
Inline
Sequence
translate
Nota
Block
Attribute
translate
Nota
Block
Component
translate
Nota
Command
Name
translate
Nota
Expr
translate
Nota
Inline
Attrs
translate
Nota
Inline
Component
translate
Nota
Inline
Content
translate
Nota
Interpolation
translate
Nota
Template
translate
Nota
Template
External
Generated using
TypeDoc