Class TypeMemberDefinitionCodec
A codec for type member definitions.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Flame.Ir
Assembly: Flame.Ir.dll
Syntax
public sealed class TypeMemberDefinitionCodec : Codec<ITypeMember, LNode>
Fields
| Improve this Doc View SourceInstance
Gets an instance of the default type member definition codec.
Declaration
public static readonly Codec<ITypeMember, LNode> Instance
Field Value
Type | Description |
---|---|
Codec<ITypeMember, Loyc.Syntax.LNode> | A type member definition codec. |
Methods
| Improve this Doc View SourceDecode(LNode, DecoderState)
Declaration
public override ITypeMember Decode(LNode data, DecoderState state)
Parameters
Type | Name | Description |
---|---|---|
Loyc.Syntax.LNode | data | |
DecoderState | state |
Returns
Type | Description |
---|---|
ITypeMember |
Overrides
Flame.Ir.Codec<Flame.ITypeMember, Loyc.Syntax.LNode>.Decode(Loyc.Syntax.LNode, Flame.Ir.DecoderState)
|
Improve this Doc
View Source
Encode(ITypeMember, EncoderState)
Declaration
public override LNode Encode(ITypeMember value, EncoderState state)
Parameters
Type | Name | Description |
---|---|---|
ITypeMember | value | |
EncoderState | state |
Returns
Type | Description |
---|---|
Loyc.Syntax.LNode |
Overrides
Flame.Ir.Codec<Flame.ITypeMember, Loyc.Syntax.LNode>.Encode(Flame.ITypeMember, Flame.Ir.EncoderState)