Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TokenStreamToString ¶
TokenStreamToString converts a token stream to a string for debugging
Types ¶
type Normalizer ¶
type Normalizer struct {
// contains filtered or unexported fields
}
Normalizer converts source code into normalized token streams
func NewNormalizer ¶
func NewNormalizer() *Normalizer
NewNormalizer creates a new normalizer instance
func (*Normalizer) NormalizeFile ¶
func (n *Normalizer) NormalizeFile(filePath string) (*types.FileTokens, error)
NormalizeFile parses a Go source file and returns a normalized token stream
Click to show internal directories.
Click to hide internal directories.