@advjs/monorepo / types/src / AdvAst / Code
Interface: Code
Defined in: packages/types/src/ast/index.ts:119
Extends
Omit
<MdAst.Code
,"value"
>
Extended by
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
Omit.data
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
Omit.lang
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
Omit.meta
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
Omit.position
type
type:
"code"
Defined in: packages/types/src/ast/index.ts:120
Node type of mdast code (flow).
Overrides
Omit.type
value
value:
null
|string
|CodeOperation
[]
Defined in: packages/types/src/ast/index.ts:121