C-minor v0.0

CodePosition Constructor

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.Lexical
Declaring Type: CodePosition

Constructs a new SourcePosition

public CodePosition(CodeFile source, int pos, int length = 0);

Parameters

CodeFile source

The StringSource

int pos

The position in the file

int length = 0

The length of the position