package
Version:
v0.0.0-...-945e4a5
Opens a new window with list of versions in this module.
Published: Apr 13, 2023
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.