FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SRL-JavaScript/lib/SRL.js at master · SimpleRegex/SRL-JavaScript · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Jun 9, 2025. It is now read-only.
SimpleRegex
/
SRL-JavaScript
Public archive
Notifications
You must be signed in to change notification settings
Fork
13
Star
139
Code
Issues
1
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
SRL-JavaScript
/
lib
/
SRL.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
18 lines (15 loc) · 369 Bytes
Breadcrumbs
SRL-JavaScript
/
lib
/
SRL.js
Copy path
File metadata and controls
18 lines (15 loc) · 369 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
'use strict'
const
Builder
=
require
(
'./Builder'
)
const
Interpreter
=
require
(
'./Language/Interpreter'
)
/**
* SRL facade for SRL Builder and SRL Language.
*
*
@param
{
string
} query
*
@return
{
Builder
}
*/
function
SRL
(
query
)
{
return
query
&&
typeof
query
===
'string'
?
new
Interpreter
(
query
)
.
builder
:
new
Builder
(
)
}
module
.
exports
=
SRL
Back
|
FazBrowse Home
|
New Git URL