CanonSharp/CanonSharp.Benchmark/Canon.Core/Enums/GrammarEnums.cs

46 lines
817 B
C#
Raw Permalink Normal View History

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
}