-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#969: Use new CTPG parser in java vm
- Loading branch information
Showing
21 changed files
with
400 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
exaudfclient/base/javacontainer/script_options/keywords.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#include "base/javacontainer/script_options/keywords.h" | ||
#include <string_view> | ||
|
||
namespace SWIGVMContainers { | ||
|
||
namespace JavaScriptOptions { | ||
|
||
Keywords::Keywords(bool withScriptOptionsPrefix) | ||
: m_jarKeyword() | ||
, m_scriptClassKeyword() | ||
, m_importKeyword() | ||
, m_jvmKeyword() { | ||
const std::string_view jar{"%jar"}; | ||
const std::string_view scriptClass{"%scriptclass"}; | ||
const std::string_view import{"%import"}; | ||
const std::string_view jvm{"%jvmoption"}; | ||
if (withScriptOptionsPrefix) { | ||
m_jarKeyword = jar; | ||
m_scriptClassKeyword = scriptClass; | ||
m_importKeyword = import; | ||
m_jvmKeyword = jvm; | ||
} else { | ||
m_jarKeyword.assign(jar.substr(1)); | ||
m_scriptClassKeyword.assign(scriptClass.substr(1)); | ||
m_importKeyword.assign(import.substr(1)); | ||
m_jvmKeyword.assign(jvm.substr(1)); | ||
} | ||
} | ||
|
||
} //namespace JavaScriptOptions | ||
|
||
} //namespace SWIGVMContainers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
119 changes: 119 additions & 0 deletions
119
exaudfclient/base/javacontainer/script_options/parser_ctpg.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
exaudfclient/base/javacontainer/script_options/parser_ctpg.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.