-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bicep: Resolved TODO + improvements (#3028)
- Loading branch information
1 parent
b0365e7
commit 748bb9a
Showing
9 changed files
with
282 additions
and
46 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,18 @@ | ||
// this is a comment | ||
|
||
/* this | ||
is a | ||
multi line comment */ | ||
|
||
/* so is | ||
this */ | ||
|
||
---------------------------------------------------- | ||
|
||
[ | ||
["comment", "// this is a comment"], | ||
|
||
["comment", "/* this\r\nis a\r\nmulti line comment */"], | ||
|
||
["comment", "/* so is\r\nthis */"] | ||
] |
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,47 @@ | ||
param myString string | ||
param myInt int | ||
param myBool bool | ||
param myObject object | ||
param myArray array | ||
|
||
output myHardcodedOutput int = 42 | ||
output myLoopyOutput array = [for myItem in myArray: { | ||
myProperty: myItem.myOtherProperty | ||
}] | ||
|
||
---------------------------------------------------- | ||
|
||
[ | ||
["keyword", "param"], " myString ", ["datatype", "string"], | ||
["keyword", "param"], " myInt ", ["datatype", "int"], | ||
["keyword", "param"], " myBool ", ["datatype", "bool"], | ||
["keyword", "param"], " myObject ", ["datatype", "object"], | ||
["keyword", "param"], " myArray ", ["datatype", "array"], | ||
|
||
["keyword", "output"], | ||
" myHardcodedOutput ", | ||
["datatype", "int"], | ||
["operator", "="], | ||
["number", "42"], | ||
|
||
["keyword", "output"], | ||
" myLoopyOutput ", | ||
["datatype", "array"], | ||
["operator", "="], | ||
["punctuation", "["], | ||
["keyword", "for"], | ||
" myItem ", | ||
["keyword", "in"], | ||
" myArray", | ||
["operator", ":"], | ||
["punctuation", "{"], | ||
|
||
["property", "myProperty"], | ||
["operator", ":"], | ||
" myItem", | ||
["punctuation", "."], | ||
"myOtherProperty\r\n", | ||
|
||
["punctuation", "}"], | ||
["punctuation", "]"] | ||
] |
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
Oops, something went wrong.