Documentation ¶
Overview ¶
* Copyright (C) 2019-2020 Red Dove Consultants Ltd. All rights reserved.
* Copyright (C) 2019-2020 Red Dove Consultants Ltd. All rights reserved.
* Copyright (C) 2019-2020 Red Dove Consultants Ltd. All rights reserved.
Index ¶
- Constants
- Variables
- type Any
- type BinaryNode
- type Config
- func (self *Config) AsDict() (Mapping, error)
- func (self *Config) Get(key string) (Any, error)
- func (self *Config) GetWithDefault(key string, defaultValue Any) (Any, error)
- func (self *Config) Load(reader *io.Reader) error
- func (self *Config) LoadFile(path string) error
- func (self *Config) String() string
- type Location
- type MapWrapper
- type Mapping
- type Parser
- type RecognizerError
- type SeqWrapper
- type Sequence
- type SliceNode
- type StringConverter
- type Token
- type UnaryNode
Constants ¶
View Source
const ( EOF tokenKind = iota Word Integer Float String Newline LeftCurly RightCurly LeftBracket RightBracket LeftParenthesis RightParenthesis LessThan GreaterThan LessThanOrEqual GreaterThanOrEqual Assign Equal Unequal AltUnequal LeftShift RightShift Dot Comma Colon At Plus Minus Star Power Slash SlashSlash Modulo BackTick Dollar True False None Is In Not And Or BitwiseAnd BitwiseOr BitwiseXor BitwiseComplement Complex IsNot NotIn Error )
Variables ¶
View Source
var NullValue = missing{}
Functions ¶
This section is empty.
Types ¶
type BinaryNode ¶
type BinaryNode struct {
// contains filtered or unexported fields
}
func (BinaryNode) String ¶
func (b BinaryNode) String() string
type Config ¶
type Config struct { NoDuplicates bool StrictConversions bool IncludePath []string RootDir string Path string Context *Mapping // contains filtered or unexported fields }
func (*Config) GetWithDefault ¶
type MapWrapper ¶
type MapWrapper struct {
// contains filtered or unexported fields
}
func (*MapWrapper) AsDict ¶
func (self *MapWrapper) AsDict() (Mapping, error)
func (MapWrapper) String ¶
func (self MapWrapper) String() string
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) MappingBody ¶
type RecognizerError ¶
type RecognizerError struct { Location *Location // contains filtered or unexported fields }
func (RecognizerError) Error ¶
func (e RecognizerError) Error() string
type SeqWrapper ¶
type SeqWrapper struct {
// contains filtered or unexported fields
}
func (*SeqWrapper) AsList ¶
func (self *SeqWrapper) AsList() (Sequence, error)
func (SeqWrapper) String ¶
func (self SeqWrapper) String() string
type StringConverter ¶
Click to show internal directories.
Click to hide internal directories.