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
ParserTrace.cs
Go to the documentation of this file.
1
#region License
2
/* **********************************************************************************
3
* Copyright (c) Roman Ivantsov
4
* This source code is subject to terms and conditions of the MIT License
5
* for Irony. A copy of the license can be found in the License.txt file
6
* at the root of this distribution.
7
* By using this source code in any fashion, you are agreeing to be bound by the terms of the
8
* MIT License.
9
* You must not remove this notice from this software.
10
* **********************************************************************************/
11
#endregion
12
13
using
System
;
14
using
System.Collections.Generic;
15
using
System.Linq;
16
using
System.Text;
17
18
namespace
Irony.
Parsing
{
19
public
class
ParserTraceEntry
{
20
public
ParserState
State
;
21
public
ParseTreeNode
StackTop
;
22
public
ParseTreeNode
Input
;
23
public
string
Message
;
24
public
bool
IsError
;
25
26
public
ParserTraceEntry
(
ParserState
state,
ParseTreeNode
stackTop,
ParseTreeNode
input,
string
message,
bool
isError) {
27
State = state;
28
StackTop = stackTop;
29
Input = input;
30
Message = message;
31
IsError
= isError;
32
}
33
}
//class
34
35
public
class
ParserTrace
:
List
<ParserTraceEntry> { }
36
37
public
class
ParserTraceEventArgs
:
EventArgs
{
38
public
ParserTraceEventArgs
(
ParserTraceEntry
entry) {
39
Entry = entry;
40
}
41
42
public
readonly
ParserTraceEntry
Entry
;
43
44
public
override
string
ToString
() {
45
return
Entry.ToString();
46
}
47
}
//class
48
49
50
51
}
//namespace
Irony.Parsing.ParserTraceEventArgs.ToString
override string ToString()
Definition:
ParserTrace.cs:44
Irony.Parsing.ParserTraceEntry.IsError
bool IsError
Definition:
ParserTrace.cs:24
Irony.Parsing.Parsing
Irony.Parsing.ParserTraceEntry.ParserTraceEntry
ParserTraceEntry(ParserState state, ParseTreeNode stackTop, ParseTreeNode input, string message, bool isError)
Definition:
ParserTrace.cs:26
Irony.Parsing.ParserTraceEntry
Definition:
ParserTrace.cs:19
SiliconStudio.Shaders.Parser.System
A system file.
Irony.Parsing.ParserTraceEntry.StackTop
ParseTreeNode StackTop
Definition:
ParserTrace.cs:21
Irony.Parsing.ParseTreeNode
Definition:
ParseTree.cs:32
Irony.Parsing.ParserTraceEntry.Input
ParseTreeNode Input
Definition:
ParserTrace.cs:22
Irony.Parsing.ParserState
Definition:
ParserData.cs:38
Irony.Parsing.ParserTraceEventArgs.ParserTraceEventArgs
ParserTraceEventArgs(ParserTraceEntry entry)
Definition:
ParserTrace.cs:38
Irony.Parsing.ParserTraceEntry.Message
string Message
Definition:
ParserTrace.cs:23
Irony.Parsing.List
Irony.Parsing.ParserTrace
Definition:
ParserTrace.cs:35
Irony.Parsing.ParserTraceEventArgs
Definition:
ParserTrace.cs:37
Irony.Parsing.ParserTraceEntry.State
ParserState State
Definition:
ParserTrace.cs:20
EventArgs
Irony.Parsing.ParserTraceEventArgs.Entry
readonly ParserTraceEntry Entry
Definition:
ParserTrace.cs:42
Irony.Parsing.IsError
sources
common
shaders
Irony
Parsing
Diagnostics
ParserTrace.cs
Generated on Sat Dec 20 2014 21:51:22 for Paradox Game Engine by
1.8.7