20 lines
358 B
C#
20 lines
358 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Language.Lua
|
|
{
|
|
public interface ParserInput<T>
|
|
{
|
|
int Length { get; }
|
|
|
|
bool HasInput(int pos);
|
|
|
|
T GetInputSymbol(int pos);
|
|
|
|
T[] GetSubSection(int position, int length);
|
|
|
|
string FormErrorMessage(int position, string message);
|
|
}
|
|
}
|