Пример #1
0
        public FSharpEscapeSequenceParser(String text)
        {
            this.text = new StringChars(text);
              // always skip the first char
              // (since quotes are included in the string)
              this.text.Next();
              // If this is an at-string, or a C preprocessor include
              // skip it
              if ( text.StartsWith("@") || text.StartsWith("<") ) {
            this.text.SkipRemainder();
              }

              if ( text.StartsWith("\"\"\"") ) {
            this.text.SkipRemainder();
              }
        }
Пример #2
0
        public FSharpEscapeSequenceParser(String text)
        {
            this.text = new StringChars(text);
            // always skip the first char
            // (since quotes are included in the string)
            this.text.Next();
            // If this is an at-string, or a C preprocessor include
            // skip it
            if (text.StartsWith("@") || text.StartsWith("<"))
            {
                this.text.SkipRemainder();
            }

            if (text.StartsWith("\"\"\""))
            {
                this.text.SkipRemainder();
            }
        }
Пример #3
0
        public FSharpStringScanner(String text)
        {
            this.text = new StringChars(text);
              // always skip the first char
              // (since quotes are included in the string)
              this.text.Next();

              if ( text.StartsWith("\"\"\"") ) {
            this.text.SkipRemainder();
              }
        }
Пример #4
0
        public FSharpStringScanner(String text)
        {
            this.text = new StringChars(text);
            // always skip the first char
            // (since quotes are included in the string)
            this.text.Next();

            if (text.StartsWith("\"\"\""))
            {
                this.text.SkipRemainder();
            }
        }