package
Version:
v1.8.22
Opens a new window with list of versions in this module.
Published: Jul 22, 2024
License: MPL-2.0
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.