You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
grammar
match {
r#"[^"]"# => "StringLiteral_0",
r#"(\\\\|\\'|\\"|\\`|\\t|\\b|\\n|\\r|\\f|\\u[0-9A-F]{4}|\\U[0-9A-F]{6})"# => "ESCAPED_CHARACTER",
} else {
}
Test = ("StringLiteral_0", "ESCAPED_CHARACTER")* // zero or more StringLiteral_0 or ESCAPED_CHARACTER
I want to a anonymous alternative syntax to represent some rule in ad-hoc mode. Is there any workaround rather than define a named nonterminal.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to a anonymous alternative syntax to represent some rule in ad-hoc mode. Is there any workaround rather than define a named nonterminal.
Beta Was this translation helpful? Give feedback.
All reactions