Sha256: e2e6e5e939baa5df4f4a8de452dec2ae50e50fed8d5003dd15929dac86651b7f

Contents?: true

Size: 665 Bytes

Versions: 2

Compression:

Stored size: 665 Bytes

Contents

#ifndef HELPERS_POINT_HELPERS_H_
#define HELPERS_POINT_HELPERS_H_

#include "runtime/length.h"
#include <ostream>

bool operator==(const TSPoint &left, const TSPoint &right);

bool operator<(const TSPoint &left, const TSPoint &right);

bool operator>(const TSPoint &left, const TSPoint &right);

bool operator==(const TSRange &left, const TSRange &right);

bool operator==(const Length &left, const Length &right);

std::ostream &operator<<(std::ostream &stream, const TSPoint &point);

std::ostream &operator<<(std::ostream &stream, const TSRange &range);

std::ostream &operator<<(std::ostream &stream, const Length &length);

#endif  // HELPERS_POINT_HELPERS_H_

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tree-sitter-0.1.0 ext/tree-sitter/tree-sitter/test/helpers/point_helpers.h
tree-sitter-0.0.1 ext/tree-sitter/tree-sitter/spec/helpers/point_helpers.h