Exemple #1
0
		public common_type_node(type_node base_type,string name,SemanticTree.type_access_level type_access_level,
			common_namespace_node comprehensive_namespace, SymbolTable.ClassScope cs, location loc)
		{
			_name=name;
			_type_access_level=type_access_level;
			_comprehensive_namespace=comprehensive_namespace;
			//_ref_type = new ref_type_node(this);
            _scope = cs;
            _loc = loc;
            this.SetBaseType(base_type);
		}
Exemple #2
0
 private null_type_node()
 {
 	_scope = compilation_context.instance.convertion_data_and_alghoritms.symbol_table.CreateClassScope(null, null);
 }
Exemple #3
0
 public common_type_node(string name, SemanticTree.type_access_level type_access_level,
     common_namespace_node comprehensive_namespace, SymbolTable.ClassScope cs, location loc)
 {
     _name = name;
     _type_access_level = type_access_level;
     _comprehensive_namespace = comprehensive_namespace;
     defined_in_scope = (comprehensive_namespace == null)?null:comprehensive_namespace.scope;
     //_ref_type = new ref_type_node(this);
     _scope = cs;
     _loc = loc;
 }