package
Version:
v0.0.0-...-65d9a5b
Opens a new window with list of versions in this module.
Published: Mar 26, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Reader is a reader for filtering comments.
It supports Java style single and multi line comment syntax, and Python style single line comment syntax.
Read implements io.Reader.Read(). Buffer must be at least 3 bytes.
State is the internal state of parser.
const (
StateContent State = iota
StateEscape
StateDoubleQuote
StateDoubleQuoteEscape
StateSingleQuote
StateSingleQuoteEscape
StateSlash
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.