Documentation ¶
Overview ¶
Code generated by Tapestry; edit at your own risk.
Index ¶
- Variables
- type Action
- type Action_Slice
- type ChooseOne
- type ChooseOne_Slice
- type Directive
- type Directive_Slice
- type Focus
- type Focus_Slice
- type GrammarMaker
- type GrammarMaker_Slot
- type GrammarMaker_Slots
- type Noun
- type Noun_Slice
- type Refine
- type Refine_Slice
- type Reverse
- type Reverse_Slice
- type ScannerMaker
- type ScannerMaker_Slot
- type ScannerMaker_Slots
- type Sequence
- type Sequence_Slice
- type Words
- type Words_Slice
Constants ¶
This section is empty.
Variables ¶
var Z_Types = typeinfo.TypeSet{
Name: "grammar",
Slot: z_slot_list,
Flow: z_flow_list,
Signatures: z_signatures,
}
package listing of type data
var Zt_Action typeinfo.Flow
action, a type of flow.
var Zt_ChooseOne typeinfo.Flow
choose_one, a type of flow.
var Zt_Directive typeinfo.Flow
directive, a type of flow.
var Zt_Focus typeinfo.Flow
focus, a type of flow.
var Zt_GrammarMaker = typeinfo.Slot{ Name: "grammar_maker", Markup: map[string]any{ "comment": "Helper for defining parser grammars.", }, }
grammar_maker, a type of slot.
var Zt_Noun typeinfo.Flow
noun, a type of flow.
var Zt_Refine typeinfo.Flow
refine, a type of flow.
var Zt_Reverse typeinfo.Flow
reverse, a type of flow.
var Zt_ScannerMaker = typeinfo.Slot{ Name: "scanner_maker", Markup: map[string]any{ "comment": "Helper for defining input scanners.", }, }
scanner_maker, a type of slot.
var Zt_Sequence typeinfo.Flow
sequence, a type of flow.
var Zt_Words typeinfo.Flow
words, a type of flow.
Functions ¶
This section is empty.
Types ¶
type Action ¶
makes a parser scanner producing a script defined action.
func (*Action) MakeScanner ¶
type Action_Slice ¶
type Action_Slice []Action
holds a slice of type action
func (*Action_Slice) TypeInfo ¶
func (*Action_Slice) TypeInfo() typeinfo.T
implements typeinfo.Instance
type ChooseOne ¶
type ChooseOne struct { Options []ScannerMaker Markup map[string]any }
makes a parser scanner.
func (*ChooseOne) MakeScanner ¶
type ChooseOne_Slice ¶
type ChooseOne_Slice []ChooseOne
holds a slice of type choose_one
func (*ChooseOne_Slice) Repeats ¶
func (op *ChooseOne_Slice) Repeats() bool
implements typeinfo.Repeats
func (*ChooseOne_Slice) TypeInfo ¶
func (*ChooseOne_Slice) TypeInfo() typeinfo.T
implements typeinfo.Instance
type Directive ¶
type Directive struct { Name string Series []ScannerMaker Markup map[string]any }
starts a parser scanner.
func (*Directive) MakeGrammar ¶
func (op *Directive) MakeGrammar() GrammarMaker
func (*Directive) MakeScanners ¶
acts as AllOf{Words, ... }
type Directive_Slice ¶
type Directive_Slice []Directive
holds a slice of type directive
func (*Directive_Slice) Repeats ¶
func (op *Directive_Slice) Repeats() bool
implements typeinfo.Repeats
func (*Directive_Slice) TypeInfo ¶
func (*Directive_Slice) TypeInfo() typeinfo.T
implements typeinfo.Instance
type Focus ¶
type Focus struct { Player string Series []ScannerMaker Markup map[string]any }
Select a specific set of bounds for the scanner.
func (*Focus) MakeScanner ¶
tbd: i wonder if this should have children ( like any/one of ) rather than being "inline"
type Focus_Slice ¶
type Focus_Slice []Focus
holds a slice of type focus
func (*Focus_Slice) TypeInfo ¶
func (*Focus_Slice) TypeInfo() typeinfo.T
implements typeinfo.Instance
type GrammarMaker_Slot ¶
type GrammarMaker_Slot struct{ Value GrammarMaker }
holds a single slot.
func (*GrammarMaker_Slot) TypeInfo ¶
func (*GrammarMaker_Slot) TypeInfo() typeinfo.T
implements typeinfo.Instance for a single slot.
type GrammarMaker_Slots ¶
type GrammarMaker_Slots []GrammarMaker
holds a slice of slots.
func (*GrammarMaker_Slots) Repeats ¶
func (op *GrammarMaker_Slots) Repeats() bool
implements typeinfo.Repeats
func (*GrammarMaker_Slots) TypeInfo ¶
func (*GrammarMaker_Slots) TypeInfo() typeinfo.T
implements typeinfo.Instance for a series of slots.
type Noun ¶
makes a parser scanner.
func (*Noun) MakeScanner ¶
type Refine ¶
type Refine struct { Series []ScannerMaker Markup map[string]any }
Change to the bounds of the most recent result.
func (*Refine) MakeScanner ¶
type Refine_Slice ¶
type Refine_Slice []Refine
holds a slice of type refine
func (*Refine_Slice) TypeInfo ¶
func (*Refine_Slice) TypeInfo() typeinfo.T
implements typeinfo.Instance
type Reverse ¶
type Reverse struct { Reverses []ScannerMaker Markup map[string]any }
Swap the first and last matching results.
func (*Reverse) MakeScanner ¶
type Reverse_Slice ¶
type Reverse_Slice []Reverse
holds a slice of type reverse
func (*Reverse_Slice) TypeInfo ¶
func (*Reverse_Slice) TypeInfo() typeinfo.T
implements typeinfo.Instance
type ScannerMaker ¶
ScannerMaker - creates parser scanners
type ScannerMaker_Slot ¶
type ScannerMaker_Slot struct{ Value ScannerMaker }
holds a single slot.
func (*ScannerMaker_Slot) TypeInfo ¶
func (*ScannerMaker_Slot) TypeInfo() typeinfo.T
implements typeinfo.Instance for a single slot.
type ScannerMaker_Slots ¶
type ScannerMaker_Slots []ScannerMaker
holds a slice of slots.
func (*ScannerMaker_Slots) Repeats ¶
func (op *ScannerMaker_Slots) Repeats() bool
implements typeinfo.Repeats
func (*ScannerMaker_Slots) TypeInfo ¶
func (*ScannerMaker_Slots) TypeInfo() typeinfo.T
implements typeinfo.Instance for a series of slots.
type Sequence ¶
type Sequence struct { Series []ScannerMaker Markup map[string]any }
makes a parser scanner.
func (*Sequence) MakeScanner ¶
type Sequence_Slice ¶
type Sequence_Slice []Sequence
holds a slice of type sequence
func (*Sequence_Slice) Repeats ¶
func (op *Sequence_Slice) Repeats() bool
implements typeinfo.Repeats
func (*Sequence_Slice) TypeInfo ¶
func (*Sequence_Slice) TypeInfo() typeinfo.T
implements typeinfo.Instance
type Words ¶
makes a parser scanner.
func (*Words) MakeScanner ¶
type Words_Slice ¶
type Words_Slice []Words
holds a slice of type words
func (*Words_Slice) TypeInfo ¶
func (*Words_Slice) TypeInfo() typeinfo.T
implements typeinfo.Instance