fix #7968 - language server support for syntax check and completion
[roobuilder] / src / JsRender / Dir.vala
1 /**
2         represents a directory (cant be edited?)
3         
4 **/
5
6 namespace JsRender {
7         int did = 1;
8         public  class Dir : JsRender
9         {  
10                 
11                 public Dir(Project.Project project, string path) {
12             
13                 base( project, path);
14                 this.xtype = "Dir";
15                 this.language = "";
16                 
17                 
18                 this.id = "dir-%d".printf(did++);
19                 this.name = this.relpath;
20                 if (this.name == "") {
21                         this.name = "/";
22                 }
23                 //console.dump(this);
24                 // various loader methods..
25
26                 // Class = list of arguments ... and which property to use as a value.
27            
28
29                 
30                 
31             }
32             public override void save() {}
33                 public override void saveHTML(string html) {}
34                 public override string toSource() { return ""; }
35                 public override string toSourceCode() {return "";} // used by commandline tester..
36                 public override void setSource(string str) {}
37                 public override string toSourcePreview()   {return "";}
38                 public override void removeFiles() {}
39                 public override void  findTransStrings(Node? node ) {}
40                 public override string toGlade()  {return "";}
41                 public override string targetName()  {return "";}
42                 public override void loadItems() throws GLib.Error {}
43                 public override string language_id() { return ""; }
44     }
45     
46     
47     
48 }