Documentation ¶
Index ¶
- type CoOccurance
- type CoOccuranceField
- type ProgramData
- type SAttributeNames
- type SAttributeValString
- func (mj *SAttributeValString) MarshalJSON() ([]byte, error)
- func (mj *SAttributeValString) MarshalJSONBuf(buf fflib.EncodingBuffer) error
- func (uj *SAttributeValString) UnmarshalJSON(input []byte) error
- func (uj *SAttributeValString) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
- type SAttributeVals
- type SAttributeVector
- type SNodeType
- type SValue
- type Stat
- type TestNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoOccurance ¶
type CoOccurance struct {
TheFields map[string]*CoOccuranceField
}
func (*CoOccurance) MarshalJSON ¶
func (mj *CoOccurance) MarshalJSON() ([]byte, error)
func (*CoOccurance) MarshalJSONBuf ¶
func (mj *CoOccurance) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*CoOccurance) UnmarshalJSON ¶
func (uj *CoOccurance) UnmarshalJSON(input []byte) error
func (*CoOccurance) UnmarshalJSONFFLexer ¶
func (uj *CoOccurance) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
type CoOccuranceField ¶
func (*CoOccuranceField) MarshalJSON ¶
func (mj *CoOccuranceField) MarshalJSON() ([]byte, error)
func (*CoOccuranceField) MarshalJSONBuf ¶
func (mj *CoOccuranceField) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*CoOccuranceField) UnmarshalJSON ¶
func (uj *CoOccuranceField) UnmarshalJSON(input []byte) error
func (*CoOccuranceField) UnmarshalJSONFFLexer ¶
func (uj *CoOccuranceField) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
type ProgramData ¶
type ProgramData struct { Count Stat NodeTypes map[string]*SNodeType // parser stats Transitions map[int]map[int]int States map[int]int }
func (*ProgramData) MarshalJSON ¶
func (mj *ProgramData) MarshalJSON() ([]byte, error)
func (*ProgramData) MarshalJSONBuf ¶
func (mj *ProgramData) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*ProgramData) UnmarshalJSON ¶
func (uj *ProgramData) UnmarshalJSON(input []byte) error
func (*ProgramData) UnmarshalJSONFFLexer ¶
func (uj *ProgramData) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
type SAttributeNames ¶
type SAttributeNames struct { Count Stat TheVals map[string]*SAttributeVals }
func (*SAttributeNames) MarshalJSON ¶
func (mj *SAttributeNames) MarshalJSON() ([]byte, error)
func (*SAttributeNames) MarshalJSONBuf ¶
func (mj *SAttributeNames) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*SAttributeNames) UnmarshalJSON ¶
func (uj *SAttributeNames) UnmarshalJSON(input []byte) error
func (*SAttributeNames) UnmarshalJSONFFLexer ¶
func (uj *SAttributeNames) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
type SAttributeValString ¶
func (*SAttributeValString) MarshalJSON ¶
func (mj *SAttributeValString) MarshalJSON() ([]byte, error)
func (*SAttributeValString) MarshalJSONBuf ¶
func (mj *SAttributeValString) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*SAttributeValString) UnmarshalJSON ¶
func (uj *SAttributeValString) UnmarshalJSON(input []byte) error
func (*SAttributeValString) UnmarshalJSONFFLexer ¶
func (uj *SAttributeValString) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
type SAttributeVals ¶
type SAttributeVals struct { Count Stat TheVals map[int]*SAttributeValString }
func (*SAttributeVals) MarshalJSON ¶
func (mj *SAttributeVals) MarshalJSON() ([]byte, error)
func (*SAttributeVals) MarshalJSONBuf ¶
func (mj *SAttributeVals) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*SAttributeVals) UnmarshalJSON ¶
func (uj *SAttributeVals) UnmarshalJSON(input []byte) error
func (*SAttributeVals) UnmarshalJSONFFLexer ¶
func (uj *SAttributeVals) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
type SAttributeVector ¶
type SAttributeVector struct { Count Stat TheVals map[string]*SAttributeNames }
func (*SAttributeVector) MarshalJSON ¶
func (mj *SAttributeVector) MarshalJSON() ([]byte, error)
func (*SAttributeVector) MarshalJSONBuf ¶
func (mj *SAttributeVector) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*SAttributeVector) UnmarshalJSON ¶
func (uj *SAttributeVector) UnmarshalJSON(input []byte) error
func (*SAttributeVector) UnmarshalJSONFFLexer ¶
func (uj *SAttributeVector) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error
type SNodeType ¶
type SNodeType struct { Count Stat AttributeCount map[int]*SAttributeVector // Attribute County AttrNames map[string]int // simple count CoOccurance *CoOccurance }
func (*SNodeType) MarshalJSON ¶
func (*SNodeType) MarshalJSONBuf ¶
func (mj *SNodeType) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*SNodeType) UnmarshalJSON ¶
func (*SNodeType) UnmarshalJSONFFLexer ¶
type SValue ¶
type SValue struct {
Count Stat
}
func (*SValue) MarshalJSON ¶
func (*SValue) MarshalJSONBuf ¶
func (mj *SValue) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*SValue) UnmarshalJSON ¶
func (*SValue) UnmarshalJSONFFLexer ¶
type Stat ¶
type Stat struct {
TheCount int
}
simple ast
func (*Stat) MarshalJSON ¶
func (*Stat) MarshalJSONBuf ¶
func (mj *Stat) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*Stat) UnmarshalJSON ¶
func (*Stat) UnmarshalJSONFFLexer ¶
type TestNode ¶
func (*TestNode) MarshalJSON ¶
func (*TestNode) MarshalJSONBuf ¶
func (mj *TestNode) MarshalJSONBuf(buf fflib.EncodingBuffer) error
func (*TestNode) UnmarshalJSON ¶
func (*TestNode) UnmarshalJSONFFLexer ¶
Click to show internal directories.
Click to hide internal directories.