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");
get;
}
- public Item (Vala.CodeNode? data) {
+ protected Item (Vala.CodeNode? data) {
this.data = data;
}
private Vala.Map<NodeType, Vala.List<Node>> per_type_children;
- public Node (Node? parent, SourceFile? file, string? name, Vala.CodeNode? data) {
+ protected Node (Node? parent, SourceFile? file, string? name, Vala.CodeNode? data) {
base (data);
per_name_children = new Vala.HashMap<string, Node> (str_hash, str_equal);
get;
}
- public Symbol (Node parent, SourceFile file, string? name, Vala.SymbolAccessibility accessibility,
+ protected Symbol (Node parent, SourceFile file, string? name, Vala.SymbolAccessibility accessibility,
SourceComment? comment, Vala.Symbol data)
{
base (parent, file, name, data);
* Represents a runtime data type.
*/
public abstract class Valadoc.Api.TypeSymbol : Symbol {
- public TypeSymbol (Node parent, SourceFile file, string name, Vala.SymbolAccessibility accessibility,
+ protected TypeSymbol (Node parent, SourceFile file, string name, Vala.SymbolAccessibility accessibility,
SourceComment? comment, bool is_basic_type,
Vala.TypeSymbol data)
{
protected ResourceLocator locator;
private ContentElement _content;
- public InlineTaglet () {
+ protected InlineTaglet () {
base ();
}
public abstract string file_extension { get; }
- public DocumentationImporter (Api.Tree tree, ModuleLoader modules, Settings settings) {
+ protected DocumentationImporter (Api.Tree tree, ModuleLoader modules, Settings settings) {
this.settings = settings;
this.modules = null;
this.tree = tree;
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;
}
}
private List<Constant> constants = new ArrayList<Constant> ();
- 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;
}