Beispiel #1
0
        // TokenExtractionAndManipulation

        public ClangTokenSet Tokenize(ClangSourceRange range)
        {
            IntPtr tokens;
            uint   count;

            LibClang.clang_tokenize(Handle, range.Source, out tokens, out count);
            return(new ClangTokenSet(Handle, tokens, (int)count));
        }
Beispiel #2
0
 public FixIt(ClangSourceRange replacementRange, string replatementText)
 {
     replacement_range = replacementRange;
     replatement_text  = replatementText;
 }
Beispiel #3
0
 public bool Equals(ClangSourceRange other)
 {
     return(LibClang.clang_equalRanges(source, other.source) != 0);
 }