|
|
@ -1150,6 +1150,7 @@ class GoLanguage: |
|
|
|
def __str__(self): |
|
|
|
def __str__(self): |
|
|
|
return 'go' |
|
|
|
return 'go' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class NodeLanguage: |
|
|
|
class NodeLanguage: |
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, node_purejs=False): |
|
|
|
def __init__(self, node_purejs=False): |
|
|
@ -1163,7 +1164,7 @@ class NodeLanguage: |
|
|
|
|
|
|
|
|
|
|
|
def worker_port_offset(self): |
|
|
|
def worker_port_offset(self): |
|
|
|
if self.node_purejs: |
|
|
|
if self.node_purejs: |
|
|
|
return 1100 |
|
|
|
return 1100 |
|
|
|
return 1000 |
|
|
|
return 1000 |
|
|
|
|
|
|
|
|
|
|
|
def scenarios(self): |
|
|
|
def scenarios(self): |
|
|
@ -1246,6 +1247,7 @@ class NodeLanguage: |
|
|
|
return 'node_purejs' |
|
|
|
return 'node_purejs' |
|
|
|
return 'node' |
|
|
|
return 'node' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LANGUAGES = { |
|
|
|
LANGUAGES = { |
|
|
|
'c++': CXXLanguage(), |
|
|
|
'c++': CXXLanguage(), |
|
|
|
'csharp': CSharpLanguage(), |
|
|
|
'csharp': CSharpLanguage(), |
|
|
|