Lines Matching refs:uppercase
49 uppercase: Optional[str] = None variable in TypeIdentifiers
79 if self.uppercase is None:
88 if (self.uppercase is not None
92 (self.uppercase, self.typename))
279 and my_ids.uppercase is not None
280 and (my_ids.uppercase == m.type_identifiers.uppercase
320 uppercase = None
331 uppercase = self.name
335 uppercase = self.name[:-len(expected_suffix)]
337 instancetype=instancetype, uppercase=uppercase)
370 if not ids.uppercase:
382 names = [n for n in (ids.instancetype, ids.classtype, ids.uppercase, ids.typename)
390 assert ids.uppercase
460 uppercase = self.name
488 def uppercase(self) -> str: member in TypeCheckerDeclaration
591 for uppercase,checkers in checker_dict.items():
603 yield from self.gen_patches_for_type(uppercase, checkers, field_dict)
605 def find_conflicts(self, uppercase: str, checkers: List[TypeDeclaration]) -> bool:
609 conflicting.extend(chain(self.file.find_matches(DefineDirective, uppercase),
610 … self.file.find_matches(DeclareInterfaceChecker, uppercase, 'uppercase'),
611 self.file.find_matches(DeclareClassType, uppercase, 'uppercase'),
612 … self.file.find_matches(DeclareInstanceType, uppercase, 'uppercase')))
615 …extend(o for o in chain(self.allfiles.find_matches(DeclareInstanceChecker, uppercase, 'uppercase'),
616 … self.allfiles.find_matches(DeclareClassCheckers, uppercase, 'uppercase'),
617 … self.allfiles.find_matches(DeclareInterfaceChecker, uppercase, 'uppercase'),
618 self.allfiles.find_matches(DefineDirective, uppercase))
626 c.warn("skipping due to conflicting %s macro", uppercase)
630 o.warn("conflicting %s macro is here", uppercase)
635 def gen_patches_for_type(self, uppercase: str,
645 def gen_patches_for_type(self, uppercase: str,
648 if self.find_conflicts(uppercase, checkers):
673 def gen_patches_for_type(self, uppercase: str,
681 self.info("already using TYPE_%s as type name", uppercase)
683 if self.file.find_match(DeclareTypeName, uppercase, 'uppercase'):
684 self.info("type name for %s already declared", uppercase)