History

more code review using github compiler runs

Heather Anderson committed 5 years ago

Commit 227e8991 parent 16c2d7618 files · +100 −36Browse files

Showing the changes to libraries/script-engine/src/ScriptProgram.h (1 of 18 files). Show all

Unified · Split

libraries/script-engine/src/ScriptProgram.h+6−0
@@ -28,6 +28,9 @@ public: · 27 unmodified lines
28 virtual ScriptSyntaxCheckResultPointer checkSyntax() const = 0;28 virtual ScriptSyntaxCheckResultPointer checkSyntax() const = 0;
29 virtual QString fileName() const = 0;29 virtual QString fileName() const = 0;
30 virtual QString sourceCode() const = 0;30 virtual QString sourceCode() const = 0;
31
32protected:
33 ~ScriptProgram() {} // prevent explicit deletion of base class
31};34};
32 35
33/// [ScriptInterface] Provides an engine-independent interface for QScriptSyntaxCheckResult36/// [ScriptInterface] Provides an engine-independent interface for QScriptSyntaxCheckResult
@@ -45,6 +48,9 @@ public: · 11 unmodified lines
45 virtual int errorLineNumber() const = 0;48 virtual int errorLineNumber() const = 0;
46 virtual QString errorMessage() const = 0;49 virtual QString errorMessage() const = 0;
47 virtual State state() const = 0;50 virtual State state() const = 0;
51
52protected:
53 ~ScriptSyntaxCheckResult() {} // prevent explicit deletion of base class
48};54};
49 55
50#endif // hifi_ScriptProgram_h56#endif // hifi_ScriptProgram_h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t