package
0.0.2
Repository: https://github.com/john-nguyen09/phpintel.git
Documentation: pkg.go.dev

# Functions

CanonicaliseURI canonicalises a child URI by shorten it assuming that it is prefixed with parent, otherwise the original URI is returned.
No description provided by the author
FirstToken returns the first terminal node (leave).
GetURIID shortens the URI but still readable.
No description provided by the author
IsOfPhraseType checks if a node is the given type.
IsOfPhraseTypes checks if a node is one of the given types.
IsURINavigatable checks if the given URI is navigatable.
LastToken returns the last terminal node (leave).
No description provided by the author
PathToURI converts file path to URI.
PrintMemUsage outputs the current, total and OS memory being used.
RunesToUTF8 converts []rune to []byte without converting to string first.
No description provided by the author
TimeTrack tracks the time Example: `defer util.TimeTrack(time.Now(), "An example")`.
URIFromCanonicalURI converts canonical URI back to full URI, if the canonical URI is a full URI which is prefixed with parent then it is returned.
URIToPath convert URI to file path.

# Variables

ShowTimeTrack controls if TimeTrack should be logged.

# Structs

NodeStack contains the token and its parents.
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author