Documentation ¶
Index ¶
- type CollectibleField
- type DefaultParser
- func (parser *DefaultParser) Collectible() bool
- func (parser *DefaultParser) CollectibleField(name string, schema *schema.Schema, onFound nodeFunc)
- func (parser *DefaultParser) CollectibleFields() []CollectibleField
- func (parser *DefaultParser) CollectibleInstanceField(name string, schema *schema.Schema, onFound nodeFunc)
- func (parser *DefaultParser) Fields() []Field
- func (parser *DefaultParser) FindFieldByName(name string) *Field
- func (parser *DefaultParser) OptionalField(name nameable.Nameable, schema *schema.Schema, onFound nodeFunc)
- func (parser *DefaultParser) OptionalRepeatableField(name nameable.Nameable, schema *schema.Schema, onFound nodeFunc)
- func (parser *DefaultParser) Parse(node *nodepkg.Node, parserKit *parserkit.ParserKit) error
- func (parser *DefaultParser) RequiredField(nameable nameable.Nameable, schema *schema.Schema, onFound nodeFunc)
- func (parser *DefaultParser) Schema() *schema.Schema
- func (parser *DefaultParser) SetCollectible(value bool)
- type Field
- type Parseable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectibleField ¶
type DefaultParser ¶
type DefaultParser struct {
// contains filtered or unexported fields
}
func (*DefaultParser) Collectible ¶ added in v0.18.0
func (parser *DefaultParser) Collectible() bool
func (*DefaultParser) CollectibleField ¶
func (parser *DefaultParser) CollectibleField(name string, schema *schema.Schema, onFound nodeFunc)
func (*DefaultParser) CollectibleFields ¶ added in v0.18.0
func (parser *DefaultParser) CollectibleFields() []CollectibleField
func (*DefaultParser) CollectibleInstanceField ¶ added in v0.85.0
func (parser *DefaultParser) CollectibleInstanceField(name string, schema *schema.Schema, onFound nodeFunc)
func (*DefaultParser) Fields ¶ added in v0.73.0
func (parser *DefaultParser) Fields() []Field
func (*DefaultParser) FindFieldByName ¶ added in v0.71.4
func (parser *DefaultParser) FindFieldByName(name string) *Field
func (*DefaultParser) OptionalField ¶
func (parser *DefaultParser) OptionalField(name nameable.Nameable, schema *schema.Schema, onFound nodeFunc)
func (*DefaultParser) OptionalRepeatableField ¶ added in v0.71.4
func (parser *DefaultParser) OptionalRepeatableField(name nameable.Nameable, schema *schema.Schema, onFound nodeFunc)
func (*DefaultParser) RequiredField ¶
func (parser *DefaultParser) RequiredField(nameable nameable.Nameable, schema *schema.Schema, onFound nodeFunc)
func (*DefaultParser) Schema ¶
func (parser *DefaultParser) Schema() *schema.Schema
func (*DefaultParser) SetCollectible ¶ added in v0.18.0
func (parser *DefaultParser) SetCollectible(value bool)
type Field ¶
type Field struct {
// contains filtered or unexported fields
}
func (*Field) Repeatable ¶ added in v0.73.0
Click to show internal directories.
Click to hide internal directories.