Lines Matching defs:compiler

99 type compiler struct {  struct
100 Config
101 upCountOffset int32 // 1 for files; 0 for expressions
103 index adt.StringIndexer
105 stack []frame
106 inSelector int
108 fileScope map[adt.Feature]bool
110 num literal.NumInfo
112 errs errors.Error
115 func (c *compiler) reset() {
121 func (c *compiler) errf(n ast.Node, format string, args ...interface{}) *adt.Bottom {
131 func (c *compiler) path() []string {
159 func (c *compiler) insertAlias(id *ast.Ident, a aliasEntry) *adt.Bottom {
181 func (c *compiler) updateAlias(id *ast.Ident, expr adt.Expr) {
193 func (c compiler) lookupAlias(k int, id *ast.Ident) aliasEntry {
223 func (c *compiler) pushScope(n labeler, upCount int32, id ast.Node) *frame {
232 func (c *compiler) popScope() {
243 func (c *compiler) compileFiles(a []*ast.File) *adt.Vertex { // Or value?
293 func (c *compiler) compileExpr(x ast.Expr) adt.Conjunct {
313 func (c *compiler) resolve(n *ast.Ident) adt.Expr {
491 func (c *compiler) addDecls(st *adt.StructLit, a []ast.Decl) {
505 func (c *compiler) markAlias(d ast.Decl) {
532 func (c *compiler) decl(d ast.Decl) adt.Decl {
661 func (c *compiler) addLetDecl(d ast.Decl) {
678 func (c *compiler) elem(n ast.Expr) adt.Elem {
695 func (c *compiler) comprehension(x *ast.Comprehension) adt.Elem {
772 func (c *compiler) embed(expr ast.Expr) adt.Expr {
784 func (c *compiler) labeledExpr(f *ast.Field, lab labeler, expr ast.Expr) adt.Expr {
789 func (c *compiler) labeledExprAt(k int, f *ast.Field, lab labeler, expr ast.Expr) adt.Expr {
804 func (c *compiler) expr(expr ast.Expr) adt.Expr {
980 func (c *compiler) assertConcreteIsPossible(src ast.Node, op adt.Op, x adt.Expr) bool {
988 func (c *compiler) addDisjunctionElem(d *adt.DisjunctionExpr, n ast.Expr, mark bool) {
1008 func (c *compiler) parse(l *ast.BasicLit) (n adt.Expr) {
1052 func parseString(c *compiler, node ast.Expr, q literal.QuoteInfo, s string) (n adt.Expr) {