コード例 #1
0
ファイル: Parsing.cs プロジェクト: juntalis/intellua
 public static bool isComment(IntelluaSource source, int pos)
 {
     int style = source.getStyleAt(pos);
     switch (style)
     {
         case 1:
         case 2:
             return true;
     }
     return false;
 }
コード例 #2
0
        public static bool isComment(IntelluaSource source, int pos)
        {
            int style = source.getStyleAt(pos);

            switch (style)
            {
            case 1:
            case 2:
                return(true);
            }
            return(false);
        }
コード例 #3
0
ファイル: Parsing.cs プロジェクト: juntalis/intellua
 public static bool isString(IntelluaSource source, int pos)
 {
     int style = source.getStyleAt(pos);
     switch (style)
     {
         case 6:
         case 7:
         case 12:
             return true;
     }
     return false;
 }
コード例 #4
0
        public static bool isString(IntelluaSource source, int pos)
        {
            int style = source.getStyleAt(pos);

            switch (style)
            {
            case 6:
            case 7:
            case 12:
                return(true);
            }
            return(false);
        }