Lines Matching refs:packageContext
76 type packageContext struct { struct
84 var _ PackageContext = &packageContext{}
86 func (p *packageContext) getScope() *basicScope { argument
90 var packageContexts = map[string]*packageContext{}
112 p := &packageContext{
218 func (p *packageContext) Import(pkgPath string) { argument
234 func (p *packageContext) ImportAs(as, pkgPath string) { argument
253 pctx *packageContext
268 func (p *packageContext) StaticVariable(name, value string) Variable { argument
288 func (v *staticVariable) packageContext() *packageContext { func
296 func (v *staticVariable) fullName(pkgNames map[*packageContext]string) string {
303 func (v *staticVariable) memoizeFullName(pkgNames map[*packageContext]string) {
321 pctx *packageContext
338 func (p *packageContext) VariableFunc(name string, argument
372 func (p *packageContext) VariableConfigMethod(name string, argument
404 func (v *variableFunc) packageContext() *packageContext { func
412 func (v *variableFunc) fullName(pkgNames map[*packageContext]string) string {
419 func (v *variableFunc) memoizeFullName(pkgNames map[*packageContext]string) {
471 func (v *argVariable) packageContext() *packageContext { func
479 func (v *argVariable) fullName(pkgNames map[*packageContext]string) string {
483 func (v *argVariable) memoizeFullName(pkgNames map[*packageContext]string) {
496 pctx *packageContext
511 func (p *packageContext) StaticPool(name string, params PoolParams) Pool { argument
532 func (p *staticPool) packageContext() *packageContext { func
540 func (p *staticPool) fullName(pkgNames map[*packageContext]string) string {
547 func (p *staticPool) memoizeFullName(pkgNames map[*packageContext]string) {
564 pctx *packageContext
580 func (p *packageContext) PoolFunc(name string, f func(interface{}) (PoolParams, argument
603 func (p *poolFunc) packageContext() *packageContext { func
611 func (p *poolFunc) fullName(pkgNames map[*packageContext]string) string {
618 func (p *poolFunc) memoizeFullName(pkgNames map[*packageContext]string) {
642 func (p *builtinPool) packageContext() *packageContext { func
650 func (p *builtinPool) fullName(pkgNames map[*packageContext]string) string {
654 func (p *builtinPool) memoizeFullName(pkgNames map[*packageContext]string) {
674 pctx *packageContext
701 func (p *packageContext) StaticRule(name string, params RuleParams, argument
738 func (r *staticRule) packageContext() *packageContext { func
746 func (r *staticRule) fullName(pkgNames map[*packageContext]string) string {
753 func (r *staticRule) memoizeFullName(pkgNames map[*packageContext]string) {
787 pctx *packageContext
815 func (p *packageContext) RuleFunc(name string, f func(interface{}) (RuleParams, argument
852 func (r *ruleFunc) packageContext() *packageContext { func
860 func (r *ruleFunc) fullName(pkgNames map[*packageContext]string) string {
867 func (r *ruleFunc) memoizeFullName(pkgNames map[*packageContext]string) {
910 func (r *builtinRule) packageContext() *packageContext { func
918 func (r *builtinRule) fullName(pkgNames map[*packageContext]string) string {
922 func (r *builtinRule) memoizeFullName(pkgNames map[*packageContext]string) {
955 func (p *packageContext) AddNinjaFileDeps(deps ...string) { argument