update components
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Foobar
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["comment", "#"],
|
||||
["comment", "# Foobar"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for comments.
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
ApacheServer {}
|
||||
lb--apache-mod-jk--puppet {}
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["component", "ApacheServer"], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["component", "lb--apache-mod-jk--puppet"], ["punctuation", "{"], ["punctuation", "}"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for component names.
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
facet Foo {}
|
||||
instance of Bar {}
|
||||
external
|
||||
import
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["keyword", "facet"],
|
||||
["component", "Foo"], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["keyword", "instance of"],
|
||||
["component", "Bar"], ["punctuation", "{"], ["punctuation", "}"],
|
||||
["keyword", "external"],
|
||||
["keyword", "import"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for keywords.
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
(optional)
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["optional", "(optional)"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for optional flag.
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
extends :
|
||||
imports:
|
||||
installer:
|
||||
data.ec2.elastic.ip:
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
["property", "extends"], ["punctuation", ":"],
|
||||
["property", "imports"], ["punctuation", ":"],
|
||||
["property", "installer"], ["punctuation", ":"],
|
||||
["property", "data.ec2.elastic.ip"], ["punctuation", ":"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for properties.
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
port = 8080;
|
||||
MySQL.port = 3307, My-Client-Database.port = 3308;
|
||||
my-own-variable = something;
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
"port ", ["punctuation", "="],
|
||||
["value", "8080"], ["punctuation", ";"],
|
||||
"\r\nMySQL", ["punctuation", "."], "port ", ["punctuation", "="],
|
||||
["value", "3307"], ["punctuation", ","],
|
||||
" My-Client-Database", ["punctuation", "."], "port ", ["punctuation", "="],
|
||||
["value", "3308"], ["punctuation", ";"],
|
||||
"\r\nmy-own-variable ", ["punctuation", "="],
|
||||
["value", "something"], ["punctuation", ";"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for default values.
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
load-balance-able.*
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
[
|
||||
"load-balance-able", ["punctuation", "."],
|
||||
["wildcard", "*"]
|
||||
]
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
Checks for wildcards.
|
||||
Reference in New Issue
Block a user