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
NullNode.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Collections.Generic;
3
using
System.Linq;
4
using
System.Text;
5
using
Irony.Parsing;
6
using
Irony.Interpreter;
7
8
namespace
Irony.Interpreter.Ast {
9
//A stub to use when AST node was not created (type not specified on NonTerminal, or error on creation)
10
// The purpose of the stub is to throw a meaningful message when interpreter tries to evaluate null node.
11
public
class
NullNode
:
AstNode
{
12
13
public
NullNode
(
BnfTerm
term) {
14
this.Term = term;
15
}
16
17
public
override
void
Evaluate
(
EvaluationContext
context,
AstMode
mode) {
18
context.ThrowError(
Resources.ErrNullNodeEval
, this.Term);
19
}
20
}
//class
21
}
Irony.Interpreter.Ast.NullNode.Evaluate
override void Evaluate(EvaluationContext context, AstMode mode)
Definition:
NullNode.cs:17
SiliconStudio.Shaders.Parser.System
A system file.
Irony.Interpreter.Ast.NullNode.NullNode
NullNode(BnfTerm term)
Definition:
NullNode.cs:13
Irony.Interpreter.EvaluationContext
Definition:
EvaluationContext.cs:38
Irony.Resources.ErrNullNodeEval
static string ErrNullNodeEval
Looks up a localized string similar to Attempt to evaluate NULL AST node. The AST node for term '{0}'...
Definition:
Resources.Designer.cs:471
Irony.Interpreter.Ast.AstMode
AstMode
Definition:
AstInterfaces.cs:25
Irony.Parsing.BnfTerm
Definition:
BnfTerm.cs:56
Irony.Interpreter.Ast.AstNode
Definition:
AstNode.cs:36
Irony.Interpreter.Ast.NullNode
Definition:
NullNode.cs:11
sources
common
shaders
Irony
Interpreter
Ast
SpecialNodes
NullNode.cs
Generated on Sat Dec 20 2014 21:51:21 for Paradox Game Engine by
1.8.7