ast

package
v0.0.0-...-e06ea66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2017 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

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

type CoOccuranceField struct {
	Fields map[string]int
}

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

type SAttributeValString struct {
	Count   Stat
	TheVals map[string]*SValue
}

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 (mj *SNodeType) MarshalJSON() ([]byte, error)

func (*SNodeType) MarshalJSONBuf

func (mj *SNodeType) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*SNodeType) UnmarshalJSON

func (uj *SNodeType) UnmarshalJSON(input []byte) error

func (*SNodeType) UnmarshalJSONFFLexer

func (uj *SNodeType) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type SValue

type SValue struct {
	Count Stat
}

func (*SValue) MarshalJSON

func (mj *SValue) MarshalJSON() ([]byte, error)

func (*SValue) MarshalJSONBuf

func (mj *SValue) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*SValue) UnmarshalJSON

func (uj *SValue) UnmarshalJSON(input []byte) error

func (*SValue) UnmarshalJSONFFLexer

func (uj *SValue) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type Stat

type Stat struct {
	TheCount int
}

simple ast

func (*Stat) MarshalJSON

func (mj *Stat) MarshalJSON() ([]byte, error)

func (*Stat) MarshalJSONBuf

func (mj *Stat) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*Stat) UnmarshalJSON

func (uj *Stat) UnmarshalJSON(input []byte) error

func (*Stat) UnmarshalJSONFFLexer

func (uj *Stat) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

type TestNode

type TestNode struct {
	NodeType string
	NodeId   string
	Vals     map[string][]string
}

func (*TestNode) MarshalJSON

func (mj *TestNode) MarshalJSON() ([]byte, error)

func (*TestNode) MarshalJSONBuf

func (mj *TestNode) MarshalJSONBuf(buf fflib.EncodingBuffer) error

func (*TestNode) UnmarshalJSON

func (uj *TestNode) UnmarshalJSON(input []byte) error

func (*TestNode) UnmarshalJSONFFLexer

func (uj *TestNode) UnmarshalJSONFFLexer(fs *fflib.FFLexer, state fflib.FFParseState) error

Directories

Path Synopsis
Package astproto is a generated protocol buffer package.
Package astproto is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL