MrKWatkins.Ast Help

BinaryFilePosition Class

Definition

A SourcePosition in a binary source code file.

public sealed class BinaryFilePosition : SourceFilePosition<BinaryFilePosition, BinaryFile>, IEquatable<SourcePosition>, IEqualityOperators<SourcePosition, SourcePosition, Boolean>

Methods

Name

Description

CreateCombination(BinaryFilePosition)

CreateZeroWidthPrefix()

Create a new BinaryFilePosition with zero width at the start of this BinaryFilePosition.

Operators

Name

Description

op_Addition(BinaryFilePosition, BinaryFilePosition)

Combines two BinaryFilePositions to give a new SourcePosition that includes both x and y along with any source in-between the two.

Last modified: 22 November 2024