Lines Matching refs:ident
487 for ident, ns in self.compiler.namespaces.items():
493 ident,
502 for ident in to_write:
503 if ident in comp_idents:
504 comp = comp_idents[ident]
516 elif ident in self.compiler.namespaces:
519 (ident, ident)
526 (ident, ident),
527 "if %s is UNDEFINED:" % ident,
529 "%s = context[%r]" % (ident, ident),
532 ident,
538 (ident, ident, ident))
543 "%s = context[%r]" % (ident, ident),
546 ident,
551 "%s = context.get(%r, UNDEFINED)" % (ident, ident)
763 ident, fargs = m.group(1, 2)
764 f = locate_encode(ident)
1062 for ident in node.undeclared_identifiers():
1063 if ident != 'context' and\
1064 ident not in self.declared.union(self.locally_declared):
1065 self.undeclared.add(ident)
1066 for ident in node.declared_identifiers():
1067 self.locally_declared.add(ident)
1069 def add_declared(self, ident):
1070 self.declared.add(ident)
1071 if ident in self.undeclared:
1072 self.undeclared.remove(ident)
1111 for ident in node.undeclared_identifiers():
1112 if ident != 'context' and \
1113 ident not in self.declared.union(self.locally_declared):
1114 self.undeclared.add(ident)
1118 for ident in node.declared_identifiers():
1119 self.argument_declared.add(ident)
1137 for ident in node.undeclared_identifiers():
1138 if ident != 'context' and \
1139 ident not in self.declared.union(self.locally_declared):
1140 self.undeclared.add(ident)
1147 for ident in node.declared_identifiers():
1148 self.argument_declared.add(ident)
1153 for ident in node.undeclared_identifiers():
1154 if ident != 'context' and \
1155 ident not in self.declared.union(self.locally_declared):
1156 self.undeclared.add(ident)
1162 for ident in node.declared_identifiers():
1163 self.argument_declared.add(ident)
1171 for ident in node.undeclared_identifiers():
1172 if ident != 'context' and \
1173 ident not in self.declared.union(
1175 self.undeclared.add(ident)
1176 for ident in node.declared_identifiers():
1177 self.argument_declared.add(ident)
1181 for ident in node.undeclared_identifiers():
1182 if ident != 'context' and \
1183 ident not in self.declared.union(
1185 self.undeclared.add(ident)