package
Version:
v4.1.1+incompatible
Opens a new window with list of versions in this module.
Published: Nov 5, 2018
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.