@coasys/ad4m / Exports / Expression
Class: Expression
The fields every expression carries, with DataType as its data.
Hierarchy
-
ExpressionShape<Object,ExpressionProof>↳
Expression
Table of contents
Constructors
Properties
Constructors
constructor
• Abstract new Expression(author?, timestamp?, data?, proof?)
Parameters
| Name | Type |
|---|---|
author? | string |
timestamp? | string |
data? | Object |
proof? | ExpressionProof |
Inherited from
ExpressionGeneric(Object).constructor
Defined in
core/src/expression/Expression.ts:32 (opens in a new tab)
Properties
author
• author: string
Inherited from
ExpressionGeneric(Object).author
Defined in
core/src/expression/Expression.ts:26 (opens in a new tab)
data
• data: Object
Inherited from
ExpressionGeneric(Object).data
Defined in
core/src/expression/Expression.ts:28 (opens in a new tab)
proof
• proof: ExpressionProof
Inherited from
ExpressionGeneric(Object).proof
Defined in
core/src/expression/Expression.ts:29 (opens in a new tab)
timestamp
• timestamp: string
Inherited from
ExpressionGeneric(Object).timestamp