예제 #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));
        }
예제 #2
0
 public FixIt(ClangSourceRange replacementRange, string replatementText)
 {
     replacement_range = replacementRange;
     replatement_text  = replatementText;
 }
예제 #3
0
 public bool Equals(ClangSourceRange other)
 {
     return(LibClang.clang_equalRanges(source, other.source) != 0);
 }