V8 Project
v8::internal::TokensCompareOutput Class Reference
+ Inheritance diagram for v8::internal::TokensCompareOutput:
+ Collaboration diagram for v8::internal::TokensCompareOutput:

Public Member Functions

 TokensCompareOutput (CompareOutputArrayWriter *array_writer, int offset1, int offset2)
 
void AddChunk (int pos1, int pos2, int len1, int len2)
 

Private Attributes

CompareOutputArrayWriterarray_writer_
 
int offset1_
 
int offset2_
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::Comparator::Output
virtual ~Output ()
 

Detailed Description

Definition at line 384 of file liveedit.cc.

Constructor & Destructor Documentation

◆ TokensCompareOutput()

v8::internal::TokensCompareOutput::TokensCompareOutput ( CompareOutputArrayWriter array_writer,
int  offset1,
int  offset2 
)
inline

Definition at line 386 of file liveedit.cc.

388  : array_writer_(array_writer), offset1_(offset1), offset2_(offset2) {
389  }
CompareOutputArrayWriter * array_writer_
Definition: liveedit.cc:396

Member Function Documentation

◆ AddChunk()

void v8::internal::TokensCompareOutput::AddChunk ( int  pos1,
int  pos2,
int  len1,
int  len2 
)
inlinevirtual

Implements v8::internal::Comparator::Output.

Definition at line 391 of file liveedit.cc.

391  {
392  array_writer_->WriteChunk(pos1 + offset1_, pos2 + offset2_, len1, len2);
393  }
void WriteChunk(int char_pos1, int char_pos2, int char_len1, int char_len2)
Definition: liveedit.cc:330

References array_writer_, offset1_, offset2_, and v8::internal::CompareOutputArrayWriter::WriteChunk().

+ Here is the call graph for this function:

Member Data Documentation

◆ array_writer_

CompareOutputArrayWriter* v8::internal::TokensCompareOutput::array_writer_
private

Definition at line 396 of file liveedit.cc.

Referenced by AddChunk().

◆ offset1_

int v8::internal::TokensCompareOutput::offset1_
private

Definition at line 397 of file liveedit.cc.

Referenced by AddChunk().

◆ offset2_

int v8::internal::TokensCompareOutput::offset2_
private

Definition at line 398 of file liveedit.cc.

Referenced by AddChunk().


The documentation for this class was generated from the following file: