c6: github.com/c9s/c6/symtable Index | Files

package symtable

import "github.com/c9s/c6/symtable"

Index

Package Files

function.go mixin.go symtable.go variable.go

type FunctionSymTable Uses

type FunctionSymTable map[string]*ast.Function

FunctionSymTableItem can be anything

This package doesn't use ast.* types because we have to avoid package acyclic reference.

func NewFunctionSymTable Uses

func NewFunctionSymTable() *FunctionSymTable

func (FunctionSymTable) Get Uses

func (self FunctionSymTable) Get(name string) (*ast.Function, bool)

func (FunctionSymTable) Has Uses

func (self FunctionSymTable) Has(name string) bool

func (FunctionSymTable) Merge Uses

func (self FunctionSymTable) Merge(a *FunctionSymTable)

func (FunctionSymTable) Set Uses

func (self FunctionSymTable) Set(name string, v *ast.Function)

type MixinSymTable Uses

type MixinSymTable map[string]*ast.MixinStmt

This package doesn't use ast.* types because we have to avoid package acyclic reference.

func NewMixinSymTable Uses

func NewMixinSymTable() *MixinSymTable

func (MixinSymTable) Get Uses

func (self MixinSymTable) Get(name string) (*ast.MixinStmt, bool)

func (MixinSymTable) Has Uses

func (self MixinSymTable) Has(name string) bool

func (MixinSymTable) Merge Uses

func (self MixinSymTable) Merge(a *MixinSymTable)

func (MixinSymTable) Set Uses

func (self MixinSymTable) Set(name string, v *ast.MixinStmt)

type SymTable Uses

type SymTable map[string]interface{}

SymTableItem can be anything

This package doesn't use ast.* types because we have to avoid package acyclic reference.

func NewSymTable Uses

func NewSymTable() *SymTable

func (SymTable) Get Uses

func (self SymTable) Get(name string) (interface{}, bool)

func (SymTable) Has Uses

func (self SymTable) Has(name string) bool

func (SymTable) Merge Uses

func (self SymTable) Merge(a *SymTable)

func (SymTable) Set Uses

func (self SymTable) Set(name string, v interface{})

type VarSymTable Uses

type VarSymTable map[string]*ast.Expr

This package doesn't use ast.* types because we have to avoid package acyclic reference.

func NewVarSymTable Uses

func NewVarSymTable() *VarSymTable

func (VarSymTable) Get Uses

func (self VarSymTable) Get(name string) (*ast.Expr, bool)

func (VarSymTable) Has Uses

func (self VarSymTable) Has(name string) bool

func (VarSymTable) Merge Uses

func (self VarSymTable) Merge(a *VarSymTable)

func (VarSymTable) Set Uses

func (self VarSymTable) Set(name string, v *ast.Expr)

Package symtable imports 1 packages (graph) and is imported by 2 packages. Updated 2017-10-13. Refresh now. Tools for package owners.