The Psyche Project
Public Member Functions | List of all members
psy::LinePositionSpan Class Reference

The LinePositionSpan. More...

#include <LinePositionSpan.h>

Public Member Functions

 LinePositionSpan (const LinePosition &start, const LinePosition &end)
 
LinePosition start () const
 
LinePosition end () const
 

Detailed Description

The LinePositionSpan.

An abstraction representation of a line within a file.

Note
This API is inspired by that of Microsoft.CodeAnalysis.Text.LinePositionSpan from Roslyn, the .NET Compiler Platform.

Member Function Documentation

◆ end()

LinePosition psy::LinePositionSpan::end ( ) const
inline

The end position of this span.

◆ start()

LinePosition psy::LinePositionSpan::start ( ) const
inline

The start position of this span.


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