Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. /* vcl-0.38.vapi generated by valac 0.36.1.14-035c, do not modify. */
  2.  
  3. namespace Vcl {
  4. [CCode (cheader_filename = "vcl.h")]
  5. public class Context : GLib.Object {
  6. public Context ();
  7. public bool add_source_filename (string filename);
  8. public GLib.List<Vala.Symbol> lookup_symbol_expression (Vala.Expression? inner, string name, bool prefix_match, Vala.Symbol? block);
  9. public Gee.Collection<Vala.Symbol> lookup_symbols_for_text (string filename, int line, int column, string text);
  10. public void parse ();
  11. public async void parse_async ();
  12. public Gee.List<string> available_packages { owned get; }
  13. public Gee.Collection<string> gir_directories { get; }
  14. public Gee.Collection<string> metadata_directories { get; }
  15. public Gee.List<string> packages { get; }
  16. public Vcl.Report report { get; set; }
  17. public Gee.List<Vcl.SourceFile> source_files { get; }
  18. public Gee.Collection<string> vapi_directories { get; }
  19. public signal void begin_parsing ();
  20. public signal void end_parsing ();
  21. }
  22. [CCode (cheader_filename = "vcl.h")]
  23. public class Report : GLib.Object {
  24. public Report ();
  25. public signal void deprecated (Vcl.SourceReference source, string message);
  26. public signal void error (Vcl.SourceReference source, string message);
  27. public signal void note (Vcl.SourceReference source, string message);
  28. public signal void warning (Vcl.SourceReference source, string message);
  29. }
  30. [CCode (cheader_filename = "vcl.h")]
  31. public class SourceFile : GLib.Object, Gee.Hashable<Vcl.SourceFile>, Gee.Comparable<Vcl.SourceFile> {
  32. public SourceFile ();
  33. public static Vcl.SourceFile? open (string filename);
  34. public static Vcl.SourceFile? open_file (GLib.File file);
  35. public GLib.File file { get; construct; }
  36. public string filename { owned get; }
  37. public bool is_source { get; construct; }
  38. }
  39. [CCode (cheader_filename = "vcl.h")]
  40. public class SourceReference : GLib.Object {
  41. public bool contains (Vcl.SourceLocation location);
  42. public Vcl.SourceLocation begin { get; construct; }
  43. public Vcl.SourceLocation end { get; construct; }
  44. public string filename { get; construct; }
  45. }
  46. [CCode (cheader_filename = "vcl.h")]
  47. public struct SourceLocation {
  48. public int line;
  49. public int column;
  50. public SourceLocation (int line, int column);
  51. public bool before (Vcl.SourceLocation other);
  52. public bool inside (Vcl.SourceReference source);
  53. }
  54. [CCode (cheader_filename = "vcl.h")]
  55. public static string[] get_vapi_directories ();
  56. [CCode (cheader_filename = "vcl.h")]
  57. public static bool package_exists (string package);
  58. [CCode (cheader_filename = "vcl.h")]
  59. public static int symbol_compare (Vala.Symbol symbol, Vala.Symbol other);
  60. [CCode (cheader_filename = "vcl.h")]
  61. public static bool symbol_equal (Vala.Symbol symbol, Vala.Symbol other);
  62. [CCode (cheader_filename = "vcl.h")]
  63. public static uint symbol_hash (Vala.Symbol symbol);
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement