Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NestingError ¶
type NestingError struct {
// contains filtered or unexported fields
}
func (*NestingError) Error ¶
func (n *NestingError) Error() string
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
func NewAssembler ¶
func NewAssembler(ctx *processors.Context) *Operator
NewAssembler creates a new Operator based on context.
type ProcessorStack ¶
type ProcessorStack struct {
// contains filtered or unexported fields
}
func NewProcessorStack ¶
func NewProcessorStack() ProcessorStack
type Stats ¶
type Stats struct {
// contains filtered or unexported fields
}
Stats are used by preprocessors to track indentation levels and count lines.
func (*Stats) LineParsed ¶
func (s *Stats) LineParsed()
LineParsed increments the lines parsed counter.
func (*Stats) ProcessorEnd ¶
ProcessorEnd decrements the indentation level caused by leaving a preprocessor. Returns an error if we went too far.
func (*Stats) ProcessorStart ¶
func (s *Stats) ProcessorStart()
ProcessorStart increments the indentation level caused to entering a new Preprocessor.
Click to show internal directories.
Click to hide internal directories.