mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-21 03:55:23 -04:00
Signed-off-by: houhaoyu <houhaoyu@huawei.com> Change-Id: I6bee9d5b48a0aab0860e413b051a1041ee178cc4
This commit is contained in:
@@ -35,4 +35,4 @@ exec('mkdir peg_parser/dist');
|
||||
await exec('pegjs -o peg_parser/dist/' + name + '.js peg_parser/src/' + item);
|
||||
}
|
||||
}
|
||||
})()
|
||||
})()
|
||||
|
||||
@@ -23,4 +23,4 @@ attribute = attr_head attr_tail
|
||||
attr_head = $ [a-zA-Z_$]+
|
||||
attr_tail = $ [a-zA-Z0-9_$]*
|
||||
item = whiteSpace '(' [^()]* item* [^()]* ')' whiteSpace
|
||||
whiteSpace = [ \t\r\n]*
|
||||
whiteSpace = [ \t\r\n]*
|
||||
|
||||
@@ -113,4 +113,4 @@ funcBody_extend = body:($[^{}]* item* [^{}]*)
|
||||
}
|
||||
|
||||
item = $ (whiteSpace '{' [^{}]* item* [^{}]* '}' whiteSpace)
|
||||
whiteSpace = $ [ \t\r\n]*
|
||||
whiteSpace = $ [ \t\r\n]*
|
||||
|
||||
Reference in New Issue
Block a user