Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
LRAction.cs
Go to the documentation of this file.
1
// Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2
// This file is distributed under GPL v3. See LICENSE.md for details.
3
//
4
// ----------------------------------------------------------------------
5
// Gold Parser engine.
6
// See more details on http://www.devincook.com/goldparser/
7
//
8
// Original code is written in VB by Devin Cook (GOLDParser@DevinCook.com)
9
//
10
// This translation is done by Vladimir Morozov (vmoroz@hotmail.com)
11
//
12
// The translation is based on the other engine translations:
13
// Delphi engine by Alexandre Rai (riccio@gmx.at)
14
// C# engine by Marcus Klimstra (klimstra@home.nl)
15
// ----------------------------------------------------------------------
16
#region Using directives
17
18
using
System
;
19
20
#endregion
21
22
namespace
GoldParser
23
{
24
/// <summary>
25
/// LR parser action type.
26
/// </summary>
27
internal
enum
LRAction
28
{
29
/// <summary>
30
/// No action. Not used.
31
/// </summary>
32
None
= 0,
33
34
/// <summary>
35
/// Shift a symbol and go to a state
36
/// </summary>
37
Shift
= 1,
38
39
/// <summary>
40
/// Reduce by a specified rule
41
/// </summary>
42
Reduce
= 2,
43
44
/// <summary>
45
/// Goto to a state on reduction
46
/// </summary>
47
Goto
= 3,
48
49
/// <summary>
50
/// Input successfully parsed
51
/// </summary>
52
Accept
= 4,
53
54
/// <summary>
55
/// Error
56
/// </summary>
57
Error
= 5
58
}
59
}
GoldParser.None
No action. Not used.
GoldParser.Accept
Input successfully parsed
GoldParser.Goto
Goto to a state on reduction
GoldParser.Error
Error
SiliconStudio.Shaders.Parser.System
A system file.
GoldParser.Reduce
Reduce by a specified rule
GoldParser.Shift
Shift a symbol and go to a state
sources
common
shaders
SiliconStudio.Shaders
GoldParser
LRAction.cs
Generated on Sat Dec 20 2014 21:51:26 for Paradox Game Engine by
1.8.7