/usr/share/vala-0.14/vapi/afrodite-0.12.vapi is in libafrodite-0.12-dev 0.12.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 | /* afrodite-0.12.vapi generated by valac-0.14, do not modify. */
namespace Afrodite {
namespace Utils {
namespace Symbols {
[CCode (cheader_filename = "afrodite.h")]
public static string get_symbol_type_description (Afrodite.MemberType type);
}
[CCode (cheader_filename = "afrodite.h")]
public static Vala.List<string>? get_package_paths (string pkg, Vala.CodeContext? context = null, string[]? vapi_dirs = null);
[CCode (cheader_filename = "afrodite.h")]
public static void log_message (string log_domain, string format, va_list args);
[CCode (cheader_filename = "afrodite.h")]
public static string unescape_xml_string (string text);
}
[CCode (cheader_filename = "afrodite.h")]
public class AstDumper : Vala.CodeVisitor {
public AstDumper ();
public void dump (Afrodite.CodeDom ast, string? filter_symbol = null);
}
[CCode (cheader_filename = "afrodite.h")]
public class CodeDom {
public Vala.HashMap<string,weak Afrodite.Symbol> symbols;
public Vala.List<weak Afrodite.Symbol> unresolved_symbols;
public CodeDom ();
public void dump_symbols ();
public Afrodite.QueryResult get_symbol_for_name_and_path (Afrodite.QueryOptions options, string symbol_qualified_name, string path, int line, int column);
public Afrodite.Symbol? get_symbol_for_source_and_position (Afrodite.SourceFile source, int line, int column);
public Afrodite.QueryResult get_symbol_type_for_name_and_path (Afrodite.QueryOptions options, string symbol_qualified_name, string path, int line, int column);
public Afrodite.QueryResult get_symbols_for_path (Afrodite.QueryOptions options, string path);
public Afrodite.SourceFile? lookup_source_file (string filename);
public Afrodite.Symbol? lookup_symbol_at (string filename, int line, int column);
public Vala.List<Afrodite.Symbol> lookup_visible_symbols_from_symbol (Afrodite.Symbol symbol, string? name = null, Afrodite.CompareMode mode = CompareMode.START_WITH, Afrodite.CaseSensitiveness case_sensitiveness = CaseSensitiveness.CASE_SENSITIVE);
public bool has_source_files { get; }
public Afrodite.Symbol root { get; set; }
public Vala.List<Afrodite.SourceFile> source_files { get; set; }
}
[CCode (cheader_filename = "afrodite.h")]
public class CompletionEngine : GLib.Object {
public string id;
public CompletionEngine (string? id = null);
public void add_vapi_dir (string path);
public void queue_source (Afrodite.SourceItem item);
public void queue_sourcefile (string path, string? content = null, bool is_vapi = false, bool is_glib = false);
public void queue_sourcefiles (Vala.List<string> paths, string? content = null, bool is_vapi = false, bool is_glib = false);
public bool queue_sources (Vala.List<Afrodite.SourceItem> sources, bool no_update_check = false);
public void remove_source_filename (string source_path);
public void remove_vapi_dir (string path);
public Afrodite.CodeDom codedom { get; }
public bool is_parsing { get; }
public signal void begin_parsing (Afrodite.CompletionEngine sender);
public signal void end_parsing (Afrodite.CompletionEngine sender);
public signal void file_parsed (Afrodite.CompletionEngine sender, string filename, Afrodite.ParseResult parse_result);
public signal void file_removed (Afrodite.CompletionEngine sender, string filename);
}
[CCode (cheader_filename = "afrodite.h")]
public class DataType {
public DataType (string type_name, string? name = null);
public void add_generic_type (Afrodite.DataType type);
public Afrodite.DataType copy ();
public void remove_generic_type (Afrodite.DataType type);
public string default_expression { get; set; }
public string description { owned get; }
public Vala.List<Afrodite.DataType> generic_types { get; set; }
public bool has_generic_types { get; }
public bool is_array { get; set; }
public bool is_dynamic { get; set; }
public bool is_ellipsis { get; set; }
public bool is_generic { get; set; }
public bool is_iterator { get; set; }
public bool is_nullable { get; set; }
public bool is_out { get; set; }
public bool is_pointer { get; set; }
public bool is_ref { get; set; }
public string name { get; set; }
public Afrodite.SourceReference source_reference { get; set; }
public Afrodite.Symbol? symbol { get; set; }
public string type_name { get; set; }
public bool unresolved { get; }
}
[CCode (cheader_filename = "afrodite.h")]
public class EllipsisType : Afrodite.DataType {
public EllipsisType ();
}
[CCode (cheader_filename = "afrodite.h")]
public class ParseResult : Vala.Report {
public Vala.CodeContext context;
public Vala.List<string> errors;
public bool is_edited;
public bool is_glib;
public Vala.List<string> notes;
public string source_path;
public Vala.List<string> warnings;
public ParseResult ();
public override void err (Vala.SourceReference? source, string message);
public override void note (Vala.SourceReference? source, string message);
public override void warn (Vala.SourceReference? source, string message);
}
[CCode (cheader_filename = "afrodite.h")]
public class QueryOptions {
public Afrodite.SymbolAccessibility access;
public bool all_symbols;
public bool auto_member_binding_mode;
public Afrodite.MemberBinding binding;
public Afrodite.CompareMode compare_mode;
public bool exclude_code_node;
public bool exclude_creation_methods;
public bool only_creation_methods;
public bool only_error_domains;
public bool only_static_factories;
public QueryOptions ();
public static Afrodite.QueryOptions creation_methods ();
public void dump_settings ();
public static Afrodite.QueryOptions error_domains ();
public static Afrodite.QueryOptions factory_methods ();
public static Afrodite.QueryOptions standard ();
}
[CCode (cheader_filename = "afrodite.h")]
public class QueryResult {
public int items_created;
public QueryResult ();
public void add_result_item (Afrodite.ResultItem item);
public Afrodite.ResultItem new_result_item (Afrodite.ResultItem? parent, Afrodite.Symbol symbol);
public Vala.List<Afrodite.ResultItem> children { get; set; }
public bool is_empty { get; }
}
[CCode (cheader_filename = "afrodite.h")]
public class ResultItem {
public ResultItem ();
public void add_result_item (Afrodite.ResultItem? item);
public Vala.List<Afrodite.ResultItem> children { get; set; }
public Afrodite.ResultItem parent { get; set; }
public Afrodite.Symbol symbol { get; set; }
}
[CCode (cheader_filename = "afrodite.h")]
public class SourceFile {
public GLib.TimeVal last_modification_time;
public SourceFile (string filename);
public void add_symbol (Afrodite.Symbol symbol);
public Afrodite.DataType add_using_directive (string name);
public Afrodite.DataType? lookup_using_directive (string name);
public void remove_symbol (Afrodite.Symbol symbol);
public void remove_using_directive (string name);
public bool update_last_modification_time ();
public Afrodite.CodeDom codedom { get; set; }
public string filename { get; set; }
public bool has_symbols { get; }
public bool has_using_directives { get; }
public Vala.List<weak Afrodite.Symbol> symbols { get; set; }
public Vala.List<Afrodite.DataType> using_directives { get; set; }
}
[CCode (cheader_filename = "afrodite.h")]
public class SourceItem {
public string content;
public Vala.CodeContext context;
public bool is_glib;
public Afrodite.SourceType source_type;
public SourceItem (string? path, Afrodite.SourceType source_type = SourceType.AUTO);
public Afrodite.SourceItem copy ();
public static Afrodite.SourceType get_source_type (string path);
public string path { get; }
}
[CCode (cheader_filename = "afrodite.h")]
public class SourceReference {
public SourceReference ();
public bool contains_position (int line, int column);
public bool contains_source_reference (Afrodite.SourceReference child);
public Afrodite.SourceFile file { get; set; }
public int first_column { get; set; }
public int first_line { get; set; }
public int last_column { get; set; }
public int last_line { get; set; }
}
[CCode (cheader_filename = "afrodite.h")]
public class Symbol : GLib.Object {
public static Afrodite.EllipsisType ELLIPSIS;
public static Afrodite.VoidType VOID;
public Vala.List<weak Afrodite.Symbol> _resolved_targets;
public Afrodite.MemberBinding binding;
public bool is_abstract;
public bool is_virtual;
public bool overrides;
public Vala.List<weak Afrodite.Symbol> resolve_targets;
public Symbol (string? symbol_name, Afrodite.MemberType type);
public void add_base_type (Afrodite.DataType type);
public void add_child (Afrodite.Symbol child);
public void add_generic_type_argument (Afrodite.Symbol sym);
public void add_local_variable (Afrodite.DataType variable);
public void add_parameter (Afrodite.DataType par);
public void add_resolved_target (Afrodite.Symbol resolve_target);
public void add_source_reference (Afrodite.SourceReference reference);
public void add_specialized_symbol (Afrodite.Symbol? item);
public bool check_options (Afrodite.QueryOptions? options);
public Afrodite.Symbol copy ();
public Afrodite.Symbol? get_default_constructor ();
public Afrodite.Symbol? get_generic_type_argument (string name);
public Afrodite.Symbol? lookup_child (string name);
public Afrodite.DataType? lookup_datatype_for_name (Afrodite.CompareMode mode, string name, Afrodite.SymbolAccessibility access = SymbolAccessibility.ANY);
public Afrodite.DataType? lookup_datatype_for_symbol_name (Afrodite.CompareMode mode, string name, Afrodite.SymbolAccessibility access = SymbolAccessibility.ANY);
public Afrodite.DataType? lookup_datatype_for_variable_name (Afrodite.CompareMode mode, string name, Afrodite.SymbolAccessibility access = SymbolAccessibility.ANY);
public Afrodite.DataType? lookup_local_variable (string name);
public unowned Afrodite.SourceReference? lookup_source_reference_filename (string filename);
public Afrodite.SourceReference? lookup_source_reference_sourcefile (Afrodite.SourceFile source);
public void remove_base_type (Afrodite.DataType type);
public void remove_child (Afrodite.Symbol child);
public void remove_generic_type_argument (Afrodite.Symbol sym);
public void remove_local_variable (Afrodite.DataType variable);
public void remove_parameter (Afrodite.DataType par);
public void remove_resolved_target (Afrodite.Symbol resolve_target);
public void remove_source_reference (Afrodite.SourceReference reference);
public void remove_specialized_symbol (Afrodite.Symbol? item);
public Afrodite.DataType? scope_lookup_datatype_for_name (Afrodite.CompareMode mode, string name);
public void specialize_generic_symbol (Vala.List<Afrodite.DataType> types);
public Afrodite.SymbolAccessibility access { get; set; }
public string access_string { owned get; }
public Vala.List<Afrodite.DataType> base_types { get; set; }
public string binding_string { owned get; }
public Vala.List<Afrodite.Symbol> children { get; }
public int creation_method_child_count { get; set; }
public string description { owned get; }
public string display_name { get; set; }
public string fully_qualified_name { owned get; }
public Afrodite.Symbol? generic_parent { get; set; }
public Vala.List<Afrodite.Symbol> generic_type_arguments { get; set; }
public bool has_base_types { get; }
public bool has_children { get; }
public bool has_creation_method_child { get; }
public bool has_generic_type_arguments { get; }
public bool has_local_variables { get; }
public bool has_parameters { get; }
public bool has_resolved_targets { get; }
public bool has_source_references { get; }
public bool has_specialized_symbols { get; }
public bool has_static_child { get; }
public string info { owned get; }
public bool is_generic_type_argument { get; set; }
public bool is_root { get; }
public bool is_static { get; }
public Vala.List<Afrodite.DataType> local_variables { get; set; }
public string markup_description { owned get; }
public Afrodite.MemberType member_type { get; set; }
public string name { get; private set; }
public Vala.List<Afrodite.DataType> parameters { get; set; }
public Afrodite.Symbol parent { get; set; }
public Vala.List<weak Afrodite.Symbol> resolved_targets { get; }
public Vala.List<Afrodite.SourceReference> source_references { get; set; }
public int static_child_count { get; set; }
public Afrodite.DataType symbol_type { get; }
}
[CCode (cheader_filename = "afrodite.h")]
public class SymbolResolver {
public SymbolResolver ();
public void resolve (Afrodite.CodeDom codedom);
}
[CCode (cheader_filename = "afrodite.h")]
public class VoidType : Afrodite.Symbol {
public VoidType ();
}
[CCode (cheader_filename = "afrodite.h")]
public enum CaseSensitiveness {
CASE_SENSITIVE,
CASE_INSENSITIVE,
AUTO
}
[CCode (cheader_filename = "afrodite.h")]
public enum CompareMode {
EXACT,
START_WITH
}
[CCode (cheader_filename = "afrodite.h")]
[Flags]
public enum MemberBinding {
INSTANCE,
CLASS,
STATIC,
ANY
}
[CCode (cheader_filename = "afrodite.h")]
public enum MemberType {
NONE,
VOID,
CONSTANT,
ENUM,
ENUM_VALUE,
FIELD,
PROPERTY,
LOCAL_VARIABLE,
SIGNAL,
CREATION_METHOD,
CONSTRUCTOR,
DESTRUCTOR,
METHOD,
DELEGATE,
PARAMETER,
TYPE_PARAMETER,
ERROR_DOMAIN,
ERROR_CODE,
NAMESPACE,
STRUCT,
CLASS,
INTERFACE,
SCOPED_CODE_NODE
}
[CCode (cheader_filename = "afrodite.h")]
public enum SourceType {
AUTO,
VALA,
GENIE,
VAPI,
UNKNOWN
}
[CCode (cheader_filename = "afrodite.h")]
[Flags]
public enum SymbolAccessibility {
PRIVATE,
INTERNAL,
PROTECTED,
PUBLIC,
ANY
}
}
|