CanonSharp/CanonSharp.Benchmark/Canon.Core/Enums/GrammarEnums.cs
jackfiled 89ce313b77 feat: CanonSharp Benchmark. (#4)
Reviewed-on: https://git.bupt-hpc.cn/jackfiled/CanonSharp/pulls/4
Co-authored-by: jackfiled <xcrenchangjun@outlook.com>
Co-committed-by: jackfiled <xcrenchangjun@outlook.com>
2024-08-19 14:37:34 +08:00

46 lines
817 B
C#

namespace CanonSharp.Benchmark.Canon.Core.Enums;
public enum NonTerminatorType
{
/// <summary>
/// 拓广文法
/// </summary>
StartNonTerminator,
ProgramStruct,
ProgramHead,
ProgramBody,
IdentifierList,
ConstDeclarations,
VarDeclarations,
SubprogramDeclarations,
CompoundStatement,
ConstDeclaration,
ConstValue,
VarDeclaration,
Type,
BasicType,
Period,
Subprogram,
SubprogramHead,
SubprogramBody,
FormalParameter,
ParameterList,
Parameter,
VarParameter,
ValueParameter,
StatementList,
Statement,
Variable,
Expression,
ProcedureCall,
ElsePart,
ExpressionList,
SimpleExpression,
Term,
Factor,
AddOperator,
MultiplyOperator,
RelationOperator,
IdVarPart
}