Beispiel #1
0
 static public int get_LastCommentOnNewLine(IntPtr l)
 {
     try {
         Dsl.AbstractSyntaxComponent self = (Dsl.AbstractSyntaxComponent)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.LastCommentOnNewLine);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #2
0
 static public int IsValid(IntPtr l)
 {
     try {
         Dsl.AbstractSyntaxComponent self = (Dsl.AbstractSyntaxComponent)checkSelf(l);
         var ret = self.IsValid();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #3
0
 static public int CopyFirstComments(IntPtr l)
 {
     try {
         Dsl.AbstractSyntaxComponent self = (Dsl.AbstractSyntaxComponent)checkSelf(l);
         Dsl.ISyntaxComponent        a1;
         checkType(l, 2, out a1);
         self.CopyFirstComments(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #4
0
 static public int set_LastCommentOnNewLine(IntPtr l)
 {
     try {
         Dsl.AbstractSyntaxComponent self = (Dsl.AbstractSyntaxComponent)checkSelf(l);
         bool v;
         checkType(l, 2, out v);
         self.LastCommentOnNewLine = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Beispiel #5
0
 static public int ToScriptString(IntPtr l)
 {
     try {
         Dsl.AbstractSyntaxComponent self = (Dsl.AbstractSyntaxComponent)checkSelf(l);
         System.Boolean a1;
         checkType(l, 2, out a1);
         var ret = self.ToScriptString(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }