Files
GhostEngine/Ghost.Shader/ParserBlock/IBlockParser.cs
2025-10-05 16:26:37 +09:00

14 lines
320 B
C#

namespace Ghost.Shader.ParserBlock;
internal interface IBlockParser<T>
{
public static abstract bool ShouldEnter(Token token);
public static abstract T Parse(TokenStreamSlice ts);
}
internal interface IBlockParser<T, U> : IBlockParser<T>
{
public U SemanticAnalysis(T syntax, List<ShaderError> errors);
}