Skip to content

Commit

Permalink
swift.yaml: Adds datatypes to swift definition
Browse files Browse the repository at this point in the history
This commit adds data types to swift language definition

Merge branch 'master' into swift-datatypes
  • Loading branch information
SerekKiri committed Dec 2, 2018
1 parent 0110042 commit 24801c2
Show file tree
Hide file tree
Showing 24 changed files with 36 additions and 43 deletions.
File renamed without changes.
7 changes: 0 additions & 7 deletions data/DataType/bool_rust.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions data/DataType/boolean_d.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions data/DataType/boolean_rust.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions data/DataType/double_swift.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
keyword: double
integer-min: '-1.7976931348623157e+308'
integer-max: '1.7976931348623157e+308'
integer-signed: true
precision: 15
5 changes: 5 additions & 0 deletions data/DataType/float_swift.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
keyword: float
integer-min: '-3.4028235e+38'
integer-max: '3.4028235e+38'
integer-signed: true
precision: 6
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions data/DataType/int_d.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions data/DataType/int_java.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion data/Language/C.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ datatypes:
- short_c
- ushort_c
- uint_c
- int_c
- int
- long_c
- ulong_c
- llong_c
Expand Down
2 changes: 1 addition & 1 deletion data/Language/CPlusPlus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ keywords:
- '#line'
- '#pragma'
datatypes:
- bool_cpp
- bool_lower_case
- void_cpp
- short_c
- ushort_c
Expand Down
4 changes: 2 additions & 2 deletions data/Language/D.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ delimiters:
# string delimiters:
- double_quote_slash_escape
datatypes:
- boolean_d
- bool_lower_case
- byte_d
- char_d
- const_d
Expand All @@ -24,7 +24,7 @@ datatypes:
- float_d
- idouble_d
- ifloat_d
- int_d
- int
- long_d
- real_d
- short_d
Expand Down
17 changes: 9 additions & 8 deletions data/Language/Golang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ datatypes:
- interface
- map
- struct
- uint8_go
- uint16_go
- uint32_go
- uint64_go
- int8_go
- int16_go
- int32_go
- int64_go
- uint8
- uint16
- uint32
- uint64
- int
- int8
- int16
- int32
- int64
- float32
- float64
- complex64
Expand Down
2 changes: 1 addition & 1 deletion data/Language/Java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ datatypes:
- boolean_java
- byte_java
- char_java
- int_java
- int
- long_java
- short_java
- float_java
Expand Down
2 changes: 1 addition & 1 deletion data/Language/Rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ delimiters:
- double_quote_slash_escape
- curly_braces
datatypes:
- bool_rust
- bool_lower_case
- char_rust
- u8_rust
- u16_rust
Expand Down
11 changes: 11 additions & 0 deletions data/Language/Swift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ delimiters:
- round_braces
- square_braces
- curly_braces
datatypes:
- bool_lower_case
- int8
- int16
- int32
- int64
- uint8
- uint16
- uint32
- uint64
- float_swift
keywords:
- class
- case
Expand Down

0 comments on commit 24801c2

Please sign in to comment.