public static int ccode_attribute_cache_index = CodeNode.get_attribute_cache_index ();
- public CCodeBaseModule () {
+ protected CCodeBaseModule () {
predefined_marshal_set = new HashSet<string> (str_hash, str_equal);
predefined_marshal_set.add ("VOID:VOID");
predefined_marshal_set.add ("VOID:BOOLEAN");
unowned G value;
SourceFunc callback;
- public Generator () {
+ protected Generator () {
helper.begin ();
}
abstract class AbstractBar {
public Foo foo;
- public AbstractBar (Foo foo) {
+ protected AbstractBar (Foo foo) {
this.foo = foo;
}
}
public abstract class Vala.ObjectTypeSymbol : TypeSymbol {
private List<TypeParameter> type_parameters = new ArrayList<TypeParameter> ();
- public ObjectTypeSymbol (string name, SourceReference? source_reference = null, Comment? comment = null) {
+ protected ObjectTypeSymbol (string name, SourceReference? source_reference = null, Comment? comment = null) {
base (name, source_reference, comment);
}
private weak Scope _owner;
private Scope _scope;
- public Symbol (string? name, SourceReference? source_reference, Comment? comment = null) {
+ protected Symbol (string? name, SourceReference? source_reference, Comment? comment = null) {
this.name = name;
this.source_reference = source_reference;
this.comment = comment;
* code or imported from an external library with a Vala API file.
*/
public abstract class Vala.TypeSymbol : Symbol {
- public TypeSymbol (string? name, SourceReference? source_reference = null, Comment? comment = null) {
+ protected TypeSymbol (string? name, SourceReference? source_reference = null, Comment? comment = null) {
base (name, source_reference, comment);
}
*/
public weak TypeSymbol type_symbol { get; set; }
- public ValueType (TypeSymbol type_symbol) {
+ protected ValueType (TypeSymbol type_symbol) {
this.type_symbol = type_symbol;
data_type = type_symbol;
}