Documentation ¶
Overview ¶
for wasm: dump a scene's worth of data to json. ignores checks since this is for wasm playback.
Index ¶
- func DumpAll(db *sql.DB, dec qdb.CommandDecoder, scene string) (ret raw.Data, err error)
- func QueryAliases(db *sql.DB, ns []raw.NounData) (err error)
- func QueryGrammar(db *sql.DB, dec qdb.CommandDecoder, scene string) (ret []grammar.Directive, err error)
- func QueryInnerNouns(db *sql.DB, scene string) (ret []raw.NounData, err error)
- func QueryInnerPatterns(db *sql.DB, scene string) (ret []raw.PatternData, err error)
- func QueryInnerRelations(db *sql.DB, scene string) (ret []raw.RelativeData, err error)
- func QueryKinds(db *sql.DB, dec qdb.CommandDecoder, scene string) (ret []rt.Kind, err error)
- func QueryNames(db *sql.DB, scene string) (ret []raw.NounName, err error)
- func QueryNouns(db *sql.DB, kd qdb.KindDecoder, scene string) (ret []raw.NounData, err error)
- func QueryPairs(db *sql.DB, scene string, rs []raw.RelativeData) (err error)
- func QueryPatterns(db *sql.DB, dec qdb.CommandDecoder, scene string) (ret []raw.PatternData, err error)
- func QueryPlurals(db *sql.DB, scene string) (ret []raw.Plural, err error)
- func QueryRelatives(db *sql.DB, scene string) (ret []raw.RelativeData, err error)
- func QueryRules(db *sql.DB, dec qdb.CommandDecoder, scene string, ps []raw.PatternData) (err error)
- func QueryScenes(db *sql.DB, scene string) (ret []string, err error)
- func QueryValues(db *sql.DB, kd qdb.KindDecoder, ns []raw.NounData) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryGrammar ¶
func QueryGrammar(db *sql.DB, dec qdb.CommandDecoder, scene string) (ret []grammar.Directive, err error)
directives produce scanners so that scanners can live separate from tapestry/commands
func QueryInnerNouns ¶
func QueryInnerPatterns ¶
func QueryInnerRelations ¶
build a list of relations
func QueryKinds ¶
func QueryNouns ¶
func QueryPairs ¶
build a list of pairs per relation
func QueryPatterns ¶
func QueryPatterns(db *sql.DB, dec qdb.CommandDecoder, scene string) (ret []raw.PatternData, err error)
func QueryPlurals ¶
fix? this is a little different than the way the normal player works this includes kinds
func QueryRelatives ¶
func QueryRules ¶
func QueryRules(db *sql.DB, dec qdb.CommandDecoder, scene string, ps []raw.PatternData) (err error)
func QueryValues ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.