Lines Matching defs:String
29 name() string // "foo"
30 fullName(pkgNames map[*packageContext]string) string // "pkg.foo" or "path.to.pkg.foo"
32 String() string
39 name() string // "foo"
40 fullName(pkgNames map[*packageContext]string) string // "pkg.foo" or "path.to.pkg.foo"
42 String() string
49 name() string // "foo"
50 fullName(pkgNames map[*packageContext]string) string // "pkg.foo" or "path.to.pkg.foo"
53 isArg(argName string) bool
54 String() string
59 variables map[string]Variable
60 pools map[string]Pool
61 rules map[string]Rule
62 imports map[string]*basicScope
68 variables: make(map[string]Variable),
69 pools: make(map[string]Pool),
70 rules: make(map[string]Rule),
71 imports: make(map[string]*basicScope),
75 func makeRuleScope(parent *basicScope, argNames map[string]bool) *basicScope {
103 func (s *basicScope) LookupVariable(name string) (Variable, error) {
197 func (s *basicScope) lookupImportedScope(pkgName string) (*basicScope, error) {
208 func (s *basicScope) AddImport(name string, importedScope *basicScope) error {
248 namePrefix string
252 func newLocalScope(parent *basicScope, namePrefix string) *localScope {
267 func (s *localScope) LookupVariable(name string) (Variable, error) {
279 func (s *localScope) AddLocalVariable(name, value string) (*localVariable,
310 func (s *localScope) AddLocalRule(name string, params *RuleParams,
311 argNames ...string) (*localRule, error) {
323 argNamesSet := make(map[string]bool)
352 namePrefix string
353 name_ string
361 func (l *localVariable) name() string {
365 func (l *localVariable) fullName(pkgNames map[*packageContext]string) string {
373 func (l *localVariable) String() string {
378 namePrefix string
379 name_ string
381 argNames map[string]bool
389 func (l *localRule) name() string {
393 func (l *localRule) fullName(pkgNames map[*packageContext]string) string {
405 func (r *localRule) isArg(argName string) bool {
409 func (r *localRule) String() string {