|
PEBL 2.2
Psychology Experiment Building Language - Cross-platform psychological experiment development system
|
#include "../base/Variant.h"#include "../base/PNode.h"#include "../base/grammar.tab.hpp"#include "../utility/PEBLPath.h"#include "../utility/PEBLUtility.h"#include "../utility/PError.h"#include <iostream>#include <string>#include <vector>#include "../base/FunctionMap.h"#include "../base/VariableMap.h"#include "../base/Evaluator.h"#include "../base/Loader.h"#include "../devices/PEventLoop.h"Go to the source code of this file.
Functions | |
| PNode * | parse (const char *filename) |
| void | PrintUsage () |
| void | PrintJSONResults (const string &filename) |
| void | PrintTextResults (const string &filename) |
| int | main (int argc, char *argv[]) |
Variables | |
| void * | myEnv = NULL |
| Evaluator * | myEval = NULL |
| bool | gSyntaxValid = true |
| vector< string > | gErrors |
| vector< string > | gWarnings |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 156 of file PEBLValidator.cpp.
References PEBLUtility::FileExists(), PEBLPath::FindFile(), Loader::FindFunctions(), gErrors, OpNode::GetLeft(), Loader::GetMainPEBLFunction(), Evaluator::gPath, PError::gShowErrorDialogs, gSyntaxValid, PError::gValidatorMode, gWarnings, head, PEBLPath::Initialize(), Loader::LoadLibraryFunctions(), Loader::LoadUserFunctions(), myLoader, NULL, parse(), PrintJSONResults(), PrintTextResults(), and PrintUsage().
|
extern |
| void PrintJSONResults | ( | const string & | filename | ) |
Definition at line 94 of file PEBLValidator.cpp.
References gErrors, gSyntaxValid, and gWarnings.
Referenced by main().
| void PrintTextResults | ( | const string & | filename | ) |
Definition at line 129 of file PEBLValidator.cpp.
References gErrors, gSyntaxValid, and gWarnings.
Referenced by main().
| void PrintUsage | ( | ) |
Definition at line 78 of file PEBLValidator.cpp.
Referenced by main().
| vector<string> gErrors |
Definition at line 75 of file PEBLValidator.cpp.
Referenced by main(), PrintJSONResults(), and PrintTextResults().
| bool gSyntaxValid = true |
Definition at line 74 of file PEBLValidator.cpp.
Referenced by main(), PrintJSONResults(), and PrintTextResults().
| vector<string> gWarnings |
Definition at line 76 of file PEBLValidator.cpp.
Referenced by main(), PrintJSONResults(), and PrintTextResults().
| void* myEnv = NULL |
Definition at line 48 of file PEBLValidator.cpp.
Referenced by PEBLObjects::Draw(), PEBLEnvironment::GetCursorPosition(), PEBLEnvironment::GetInput0(), PEBLEnvironment::GetMouseState(), PEBLEnvironment::GetNumJoysticks(), PEBLString::GetSystemLocale(), PEBLEnvironment::GetVideoModes(), PEBLString::IsSystemLocaleRTL(), PEBLObjects::MakeEnvironment(), PEBLObjects::MakeWindow(), PEBLEnvironment::SetCursorPosition(), and PEBLEnvironment::ShowCursor().
Definition at line 49 of file PEBLValidator.cpp.
Referenced by Evaluator::CallFunction(), PEBLEnvironment::CallFunction(), Eval1(), PlatformWindow::Initialize(), PEventLoop::Loop(), PEventLoop::Loop1(), PEBLObjects::MakeTextBox(), PEBLObjects::MakeWindow(), PEBLInterpret(), PlatformEventQueue::Prime(), PlatformWindow::Resize(), and PEBLEnvironment::VariableExists().