TorqueScript  0.2
interpreterconfiguration.hpp
1 
15 #pragma once
16 
17 #include <torquescript/platformcontext.hpp>
18 
19 namespace TorqueScript
20 {
26  {
28  mPlatform(platform), mMaxRecursionDepth(1024), mCaseSensitive(false)
29  {
30 
31  }
32 
35 
37  unsigned int mMaxRecursionDepth;
38 
41  };
42 }
Definition: platformcontext.hpp:24
Definition: ast.hpp:28
A structure representing overall interpreter runtime configuration. Some settings can be changed at r...
Definition: interpreterconfiguration.hpp:26
unsigned int mMaxRecursionDepth
Maximum call stack depth. If set to 0, no maximum call depth is enforced.
Definition: interpreterconfiguration.hpp:37
PlatformContext *const mPlatform
The platform context used for handling ie. logging, File I/O and so on. While this can be reassigned ...
Definition: interpreterconfiguration.hpp:34
bool mCaseSensitive
Whether or not the interpreter should be case sensitive. While this can be reassigned at runtime,...
Definition: interpreterconfiguration.hpp:40