8000 data/Language/Flow.yaml: Add Flow definition by utkarsh2102 · Pull Request #91 · coala/coAST · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

data/Language/Flow.yaml: Add Flow definition #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/logos/Flow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions data/DataType/boolean_flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
keyword: boolean
integer-min: '0'
integer-max: '1'
integer-signed: false
literals:
- 'true'
- 'false'
3 changes: 3 additions & 0 deletions data/DataType/null_flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
keyword: null
integer-min: '0'
integer-max: '0'
4 changes: 4 additions & 0 deletions data/DataType/number_flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
keyword: number
integer-min: 'uncertain'
integer-max: 'uncertain'
integer-signed: true
4 changes: 4 additions & 0 deletions data/DataType/string_flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
keyword: string
delimiters:
- single_quote
- double_quote
4 changes: 4 additions & 0 deletions data/DataType/void_flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
keyword: void
integer-min: '0'
integer-max: '0'
integer-signed: false
3 changes: 3 additions & 0 deletions data/Delimiter/curly_braces_pipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
type: block
start: '{|'
end: '|}'
50 changes: 50 additions & 0 deletions data/Language/Flow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
identifier: Flow
full_name: Flow
creation_date: 2014
extensions:
- flow
language_derivative:
- JavaScript
line_continuation:
- backslash
delimiters:
- double_slash
- multiline_slash_star
- single_quote_slash_escape
- double_quote_slash_escape
- curly_braces
- round_braces
- square_braces
- backticks
- curly_braces_pipe
keywords:
- declare
- string
- boolean
- string
- number
- typeof
- return
- if
- let
- var
- function
- const
- object
- serialize
- interface
- implements
- array
- class
- new
- this
- constructor
- opaque
- type
- import
datatypes:
- boolean_flow
- number_flow
- string_flow
- void_flow
- null_flow
1 change: 1 addition & 0 deletions models/LangDerived.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# pk: String
1 change: 1 addition & 0 deletions models/Language.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ versions: String
grammar_file: String
aliases: Alias[]
extensions: FileExtension[]
language_derivative: LangDerived[]
line_continuation: LineCont[]
delimiters: Delimiter[]
datatypes: DataType[]
Expand Down
0