@advjs/monorepo / types/src / AdvAst / CodeFunction
Interface: CodeFunction
Defined in: packages/types/src/ast/index.ts:124
Extends
Properties
data?
optional
data:CodeData
Defined in: node_modules/.pnpm/@types+mdast@4.0.3/node_modules/@types/mdast/index.d.ts:574
Data associated with the mdast code (flow).
Inherited from
lang?
optional
lang:null
|string
Defined in: node_modules/.pnpm/@types+mdast@4.0.3/node_modules/@types/mdast/index.d.ts:564
Language of computer code being marked up.
Inherited from
meta?
optional
meta:null
|string
Defined in: node_modules/.pnpm/@types+mdast@4.0.3/node_modules/@types/mdast/index.d.ts:570
Custom information relating to the node.
If the lang field is present, a meta field can be present.
Inherited from
position?
optional
position:Position
Defined in: node_modules/.pnpm/@types+unist@3.0.3/node_modules/@types/unist/index.d.ts:103
Position of a node in a source document.
Nodes that are generated (not in the original source document) must not have a position.
Inherited from
type
type:
"code"
Defined in: packages/types/src/ast/index.ts:125
Node type of mdast code (flow).
Overrides
value
value:
string
Defined in: packages/types/src/ast/index.ts:126