mirror of
https://github.com/robertkrimen/otto
synced 2025-10-05 19:19:10 +08:00

Enable more linters, address the issues and do a major naming refactor to use golang lower camelCase identifiers for types, functions, methods and variable names. Also: * Clean up inline generation so it doesn't rely on temporary variables. * Remove unused functions generated by inline.pl.
12 lines
166 B
Go
12 lines
166 B
Go
package otto
|
|
|
|
import (
|
|
"github.com/robertkrimen/otto/ast"
|
|
"github.com/robertkrimen/otto/file"
|
|
)
|
|
|
|
type compiler struct {
|
|
file *file.File
|
|
program *ast.Program
|
|
}
|