Versions in this module Expand all Collapse all v0 v0.0.2 Aug 7, 2022 Changes in this version + func SetFromArray(arr []V) mapset.Set[V] v0.0.1 Apr 18, 2022 Changes in this version + var ShowTimeTrack = false + func CanonicaliseURI(parent string, child string) string + func DecodeURIFromQuery(uri string) (string, error) + func FirstToken(node phrase.AstNode) *lexer.Token + func GetURIID(uri string) string + func HandleError(err error) + func IsOfPhraseType(node phrase.AstNode, phraseType phrase.PhraseType) (*phrase.Phrase, bool) + func IsOfPhraseTypes(node phrase.AstNode, phraseTypes []phrase.PhraseType) (*phrase.Phrase, bool) + func IsURINavigatable(uri string) bool + func LastToken(node phrase.AstNode) *lexer.Token + func PathToURI(path string) string + func PrintMemUsage() + func RunesToUTF8(rs []rune) []byte + func TimeTrack(start time.Time, name string) + func URIFromCanonicalURI(parent string, canonicalURI string) string + func URIToPath(uri string) (string, error) + type NodeStack struct + func (s *NodeStack) Parent() phrase.Phrase + func (s *NodeStack) Phrase() phrase.Phrase + func (s *NodeStack) Pop() *phrase.Phrase + func (s *NodeStack) Push(node *phrase.Phrase) + func (s *NodeStack) SetParents(parents []*phrase.Phrase) *NodeStack + func (s *NodeStack) SetToken(token *lexer.Token) *NodeStack + func (s NodeStack) String() string + func (s NodeStack) Token() lexer.Token + type Traverser struct + func NewTraverser(node *phrase.Phrase) *Traverser + func (s *Traverser) Advance() phrase.AstNode + func (s *Traverser) Ascend() (*Traverser, error) + func (s *Traverser) Clone() *Traverser + func (s *Traverser) Descend() (*Traverser, error) + func (s *Traverser) Peek() phrase.AstNode + func (s *Traverser) SkipToken(tokenType lexer.TokenType) + func (s *Traverser) Traverse(visit Visitor) + type Visitor func(phrase.AstNode, []*phrase.Phrase) VisitorContext + type VisitorContext struct + AscendNode phrase.AstNode + ShouldAscend bool