Documentation ¶
Overview ¶
Copyright (c) 2014 Caleb Spare
MIT License ¶
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2014 Caleb Spare ¶
MIT License ¶
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
FIXME: gen lol
https://github.com/cespare/goclj
Copyright (c) 2014 Caleb Spare ¶
MIT License ¶
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Index ¶
- type BoolNode
- type CharacterNode
- type CommentNode
- type DerefNode
- type FnLiteralNode
- type KeywordNode
- type ListNode
- type MapNode
- type MetadataNode
- type NewlineNode
- type NilNode
- type Node
- type NumberNode
- type ParseOpts
- type Pos
- type QuoteNode
- type ReaderCondNode
- type ReaderCondSpliceNode
- type ReaderDiscardNode
- type ReaderEvalNode
- type RegexNode
- type SetNode
- type StringNode
- type SymbolNode
- type SyntaxQuoteNode
- type TagNode
- type Tree
- type UnquoteNode
- type UnquoteSpliceNode
- type VarQuoteNode
- type VectorNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CharacterNode ¶
func (*CharacterNode) Children ¶
func (n *CharacterNode) Children() []Node
func (*CharacterNode) String ¶
func (n *CharacterNode) String() string
type CommentNode ¶
func (*CommentNode) Children ¶
func (n *CommentNode) Children() []Node
func (*CommentNode) String ¶
func (n *CommentNode) String() string
type FnLiteralNode ¶
func (*FnLiteralNode) Children ¶
func (n *FnLiteralNode) Children() []Node
func (*FnLiteralNode) String ¶
func (n *FnLiteralNode) String() string
type KeywordNode ¶
func (*KeywordNode) Children ¶
func (n *KeywordNode) Children() []Node
func (*KeywordNode) String ¶
func (n *KeywordNode) String() string
type MapNode ¶
type MetadataNode ¶
func (*MetadataNode) Children ¶
func (n *MetadataNode) Children() []Node
func (*MetadataNode) String ¶
func (n *MetadataNode) String() string
type NewlineNode ¶
type NewlineNode struct {
*Pos
}
func (*NewlineNode) Children ¶
func (n *NewlineNode) Children() []Node
func (*NewlineNode) String ¶
func (n *NewlineNode) String() string
type NumberNode ¶
func (*NumberNode) Children ¶
func (n *NumberNode) Children() []Node
func (*NumberNode) String ¶
func (n *NumberNode) String() string
type ParseOpts ¶
type ParseOpts uint
ParseOpts is a bitset of parsing options for Reader and File.
const ( // IncludeNonSemantic makes the parser include non-semantic nodes: // CommentNodes and NewlineNodes. IncludeNonSemantic ParseOpts = 1 << iota // IgnoreCommentForm makes the parser ignore (comment ...) forms. // This only applies to forms that are semantic comments; a quoted node // such as '(comment "foo") would not be ignored. IgnoreCommentForm // IgnoreReaderDiscard makes the parser ignore forms preceded by #_. IgnoreReaderDiscard )
type ReaderCondNode ¶
func (*ReaderCondNode) Children ¶
func (n *ReaderCondNode) Children() []Node
func (*ReaderCondNode) String ¶
func (n *ReaderCondNode) String() string
type ReaderCondSpliceNode ¶
func (*ReaderCondSpliceNode) Children ¶
func (n *ReaderCondSpliceNode) Children() []Node
func (*ReaderCondSpliceNode) String ¶
func (n *ReaderCondSpliceNode) String() string
type ReaderDiscardNode ¶
func (*ReaderDiscardNode) Children ¶
func (n *ReaderDiscardNode) Children() []Node
func (*ReaderDiscardNode) String ¶
func (n *ReaderDiscardNode) String() string
type ReaderEvalNode ¶
func (*ReaderEvalNode) Children ¶
func (n *ReaderEvalNode) Children() []Node
func (*ReaderEvalNode) String ¶
func (n *ReaderEvalNode) String() string
type StringNode ¶
func (*StringNode) Children ¶
func (n *StringNode) Children() []Node
func (*StringNode) String ¶
func (n *StringNode) String() string
type SymbolNode ¶
func (*SymbolNode) Children ¶
func (n *SymbolNode) Children() []Node
func (*SymbolNode) String ¶
func (n *SymbolNode) String() string
type SyntaxQuoteNode ¶
func (*SyntaxQuoteNode) Children ¶
func (n *SyntaxQuoteNode) Children() []Node
func (*SyntaxQuoteNode) String ¶
func (n *SyntaxQuoteNode) String() string
type UnquoteNode ¶
func (*UnquoteNode) Children ¶
func (n *UnquoteNode) Children() []Node
func (*UnquoteNode) String ¶
func (n *UnquoteNode) String() string
type UnquoteSpliceNode ¶
func (*UnquoteSpliceNode) Children ¶
func (n *UnquoteSpliceNode) Children() []Node
func (*UnquoteSpliceNode) String ¶
func (n *UnquoteSpliceNode) String() string
type VarQuoteNode ¶
func (*VarQuoteNode) Children ¶
func (n *VarQuoteNode) Children() []Node
func (*VarQuoteNode) String ¶
func (n *VarQuoteNode) String() string
type VectorNode ¶
func (*VectorNode) Children ¶
func (n *VectorNode) Children() []Node
func (*VectorNode) String ¶
func (n *VectorNode) String() string