Commit ed24a7dc authored by Custom2043's avatar Custom2043
Browse files

Update .mpl

parent cf743136
......@@ -3,7 +3,7 @@ gen/**
.classpath
.project
**.jar
**.jardesc
test.txt
\ No newline at end of file
test.txt
/bin/
......@@ -6,7 +6,7 @@ anyCharToken = "\*"
#NumberChar = "0" ("b" {value:'0-1'})|("x" {value:'0-9|A-F'})|("d" {value:digit})
#SingleChar = (backslash backslash:("b"|"r"|"t"|"n"|backslash|anyCharToken|quote|singleQuote)) | anyChar | anyCharToken
CharacterToken = singleQuote [notToken:notToken] {|orToken character1:(SingleChar|NumberChar) ["-" character2:(SingleChar|NumberChar)]} singleQuote
ParserStringToken = (quote {charTokens:(CharacterToken | SingleChar)} quote) | singleChar:CharacterToken
StringToken = (quote {charTokens:(CharacterToken | SingleChar)} quote) | singleChar:CharacterToken
letter = 'a-z|A-Z'
digit = '0-9'
......@@ -30,13 +30,13 @@ SearchName = id:Identifier ":"
LineHeader = [trans:transientToken] id:Identifier equals
TokenSearchToken = Identifier|StringToken
ArraySearchToken = arrayOpen [orToken left:NamedSearch] {searches:NamedSearch} [right:NamedSearch orToken] arrayClose
OptionalSearchToken = optionOpen {searches:NamedSearch} optionClose
BracketSearchToken = exprOpen {searches:NamedSearch} exprClose
OrSearchToken = {searches:NamedSearch orToken|}
ArraySearchToken = arrayOpen [orToken left:SearchToken] {searches:SearchToken} [right:SearchToken orToken] arrayClose
OptionalSearchToken = optionOpen {searches:SearchToken} optionClose
BracketSearchToken = exprOpen {searches:SearchToken} exprClose
OrSearchToken = {searches:SearchToken orToken|}
#NamedSearch = {([searchNames:SearchName] searches:(TokenSearchToken|ArraySearchToken|OptionalSearchToken|BracketSearchToken)) | searches:OrSearchToken}
#SearchToken = {([searchNames:SearchName] searches:(TokenSearchToken|ArraySearchToken|OptionalSearchToken|BracketSearchToken)) | searches:OrSearchToken}
Line = header:LineHeader {namedSearches:NamedSearch}
Line = header:LineHeader {namedSearches:SearchToken}
anyChar = "*"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment