Home
last modified time | relevance | path

Searched refs:class_scope (Results 1 – 25 of 209) sorted by relevance

123456789

/dports/devel/py-rope/rope-0.18.0/rope/refactor/
H A Dintroduce_factory.py79 class_scope = self.old_pyname.get_object().get_scope()
89 start = self._get_insertion_offset(class_scope, lines)
91 result += self._get_factory_method(lines, class_scope,
96 def _get_insertion_offset(self, class_scope, lines): argument
97 start_line = class_scope.get_end()
98 if class_scope.get_scopes():
99 start_line = class_scope.get_scopes()[-1].get_end()
103 def _get_factory_method(self, lines, class_scope, argument
107 if self._get_scope_indents(lines, class_scope) > 0:
115 indents = self._get_scope_indents(lines, class_scope) + \
H A Dsourceutils.py41 def add_methods(pymodule, class_scope, methods_sources): argument
44 insertion_line = class_scope.get_end()
45 if class_scope.get_scopes():
46 insertion_line = class_scope.get_scopes()[-1].get_end()
50 methods, get_indents(lines, class_scope.get_start()) +
H A Dlocaltofield.py32 class_scope = function_scope.parent
33 if name in class_scope.pyobject:
H A Dencapsulate_field.py90 class_scope = self._get_defining_class_scope()
99 class_scope = pymodule.get_scope().\
100 get_inner_scope_for_line(class_scope.get_start())
106 new_source = sourceutils.add_methods(pymodule, class_scope,
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/pyflakes/pyflakes/test/
H A Dtest_code_segment.py62 class_scope = class_scopes[0]
65 self.assertIsInstance(class_scope, ClassScope)
68 self.assertIn('x', class_scope)
69 self.assertIn('bar', class_scope)
76 self.assertIsInstance(class_scope['bar'], FunctionDefinition)
77 self.assertIsInstance(class_scope['x'], Assignment)
/dports/devel/py-pyflakes/pyflakes-2.4.0/pyflakes/test/
H A Dtest_code_segment.py62 class_scope = class_scopes[0]
65 self.assertIsInstance(class_scope, ClassScope)
68 self.assertIn('x', class_scope)
69 self.assertIn('bar', class_scope)
76 self.assertIsInstance(class_scope['bar'], FunctionDefinition)
77 self.assertIsInstance(class_scope['x'], Assignment)
/dports/databases/p5-SQL-Translator/SQL-Translator-1.62/share/DiaUml/
H A Duml-attribute.tt24 DEFAULT visibility=0 abstract="false" class_scope="false"
25 <dia:attribute name="class_scope">
26 <dia:boolean val="[% class_scope %]"/>
/dports/graphics/dia/dia-0.97.3/objects/UML/
H A Dumlattribute.c61 { "class_scope", PROP_TYPE_BOOL, offsetof(UMLAttribute, class_scope) },
87 attr->class_scope = FALSE; in uml_attribute_new()
129 newattr->class_scope = attr->class_scope; in uml_attribute_copy_into()
182 attr->class_scope); in uml_attribute_write()
H A Duml.h71 int class_scope; /**< in C++ : static member */ member
90 int class_scope; member
H A Dumloperation.c92 { "class_scope", PROP_TYPE_BOOL, offsetof(UMLOperation, class_scope) },
165 destop->class_scope = srcop->class_scope; in uml_operation_copy_into()
278 op->class_scope); in uml_operation_write()
/dports/cad/iverilog/verilog-11.0/
H A Dpform_pclass.cc45 PClass*class_scope = pform_push_class_scope(loc, type->name, lifetime); in pform_start_class_declaration() local
46 class_scope->type = type; in pform_start_class_declaration()
48 pform_cur_class = class_scope; in pform_start_class_declaration()
H A Delab_scope.cc485 NetScope*class_scope = new NetScope(scope, hname_t(pclass->pscope_name()), in elaborate_scope_class() local
487 class_scope->set_line(pclass); in elaborate_scope_class()
488 class_scope->set_class_def(use_class); in elaborate_scope_class()
489 use_class->set_class_scope(class_scope); in elaborate_scope_class()
491 set_scope_timescale(des, class_scope, pclass); in elaborate_scope_class()
493 class_scope->add_typedefs(&pclass->typedefs); in elaborate_scope_class()
501 << " in class " << scope_path(class_scope) in elaborate_scope_class()
505 elaborate_scope_enumerations(des, class_scope, pclass->enum_sets); in elaborate_scope_class()
512 ivl_type_s*tmp = cur->second.type->elaborate_type(des, class_scope); in elaborate_scope_class()
527 NetScope*method_scope = new NetScope(class_scope, use_name, NetScope::TASK); in elaborate_scope_class()
[all …]
H A Dnetclass.h50 inline const NetScope* class_scope(void) const { return class_scope_; } in class_scope() function
/dports/games/exult/exult-snapshot-v1.7.0.20211128/usecode/
H A Ducsymtbl.cc56 if (kind == Usecode_symbol::class_scope) { in read()
92 if (sym->get_kind() == class_scope) in write()
H A Ducsymtbl.h41 class_scope, enumerator
/dports/devel/py-rope/rope-0.18.0/rope/base/
H A Devaluate.py91 class_scope = holding_scope
93 class_scope = holding_scope.parent
96 return (None, class_scope.pyobject[name])
/dports/games/exult/exult-snapshot-v1.7.0.20211128/usecode/compiler/
H A Ducclass.cc181 Usecode_symbol::class_scope, num, num_vars); in create_sym()
/dports/devel/py-mypy/mypy-0.910/mypy/
H A Dscope.py106 def class_scope(self, info: TypeInfo) -> Iterator[None]: member in Scope
H A Dsemanal_typeargs.py49 with self.scope.class_scope(defn.info):
/dports/graphics/dia/dia-0.97.3/plug-ins/python/
H A Dcodegen.py33 def AddOperation(self, name, type, visibility, params, inheritance_type, comment, class_scope) : argument
34 self.operations.append((name,(type, visibility, params, inheritance_type, comment, class_scope)))
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/ast/
H A Dscopes.cc1831 ClassScope* class_scope = AsClassScope(); in Print() local
1832 if (class_scope->GetRareData() != nullptr) { in Print()
1834 &(class_scope->GetRareData()->private_name_map), true, function); in Print()
1835 Variable* brand = class_scope->brand(); in Print()
1841 if (class_scope->class_variable() != nullptr) { in Print()
1844 class_scope->class_variable()->is_used() ? ", used" : ", unused", in Print()
1845 class_scope->should_save_class_variable_index() in Print()
1848 PrintVar(n1, class_scope->class_variable()); in Print()
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/ast/
H A Dscopes.cc1833 ClassScope* class_scope = AsClassScope(); in Print() local
1834 if (class_scope->GetRareData() != nullptr) { in Print()
1836 &(class_scope->GetRareData()->private_name_map), true, function); in Print()
1837 Variable* brand = class_scope->brand(); in Print()
1843 if (class_scope->class_variable() != nullptr) { in Print()
1846 class_scope->class_variable()->is_used() ? ", used" : ", unused", in Print()
1847 class_scope->should_save_class_variable_index() in Print()
1850 PrintVar(n1, class_scope->class_variable()); in Print()
/dports/lang/v8/v8-9.6.180.12/src/ast/
H A Dscopes.cc1905 ClassScope* class_scope = AsClassScope(); in Print() local
1906 if (class_scope->GetRareData() != nullptr) { in Print()
1908 &(class_scope->GetRareData()->private_name_map), true, function); in Print()
1909 Variable* brand = class_scope->brand(); in Print()
1915 if (class_scope->class_variable() != nullptr) { in Print()
1918 class_scope->class_variable()->is_used() ? ", used" : ", unused", in Print()
1919 class_scope->should_save_class_variable_index() in Print()
1922 PrintVar(n1, class_scope->class_variable()); in Print()
/dports/devel/pylint/pylint-2.12.1/pylint/checkers/refactoring/
H A Drefactoring_checker.py162 class_scope: Dict[str, nodes.NodeNG] = {} variable in ConsiderUsingWithStack
166 yield from (self.function_scope, self.class_scope, self.module_scope)
175 return self.class_scope
906 self._consider_using_with_stack.class_scope
908 self._consider_using_with_stack.class_scope.clear()
/dports/lang/v8/v8-9.6.180.12/src/parsing/
H A Dparser-base.h4681 ClassScope* class_scope = NewClassScope(scope(), is_anonymous); in ParseClassLiteral() local
4682 BlockState block_state(&scope_, class_scope); in ParseClassLiteral()
4692 ClassScope::HeritageParsingScope heritage(class_scope); in ParseClassLiteral()
4753 impl()->DeclarePublicClassField(class_scope, property, in ParseClassLiteral()
4767 class_scope->set_end_position(end_pos); in ParseClassLiteral()
4779 class_scope->DeclareBrandVariable( in ParseClassLiteral()
4783 if (class_scope->needs_home_object()) { in ParseClassLiteral()
4791 class_scope->should_save_class_variable_index(); in ParseClassLiteral()
4793 impl()->DeclareClassVariable(class_scope, name, &class_info, in ParseClassLiteral()
4796 class_scope->class_variable()->set_is_used(); in ParseClassLiteral()
[all …]

123456789