FFI::ClangSourceFFIClangCodeCompletionFixIt

class FixIt

Represents a fix-it that must be applied before a completion can be inserted.

Definitions

attr_reader :text, :range

Signature

attribute r

text

returns String

The replacement text.

attribute r

range

returns SourceRange

The source range to replace.

def initialize(text, range)

Initialize a fix-it.

Signature

parameter text String

The replacement text.

parameter range SourceRange

The source range to replace.

Implementation

def initialize(text, range)
	@text = text
	@range = range
end