Skip to content

Instantly share code, notes, and snippets.

@hmarcelodn
Created May 24, 2022 21:14
Show Gist options
  • Select an option

  • Save hmarcelodn/c1fece250bfa312d4464caa14e5f2116 to your computer and use it in GitHub Desktop.

Select an option

Save hmarcelodn/c1fece250bfa312d4464caa14e5f2116 to your computer and use it in GitHub Desktop.
thl-grammar.pegjs-07
FunctionStatement =
func:AllFunctionTokens _
"("param: (QuestionToken/String/FunctionStatement)")"
{
return {
functionStatement: {
func,
param,
}
};
}
AllFunctionTokens =
"$a_an" /
"$the_noun" /
"$capitalize" /
"$possessive" /
"$lower_case" /
"$get_address_city" /
"$get_address_state" /
"$get_address_street" /
"$get_address_street_extra" /
"$get_address_zip" /
"$get_contact_title" /
"$get_contact_email" /
"$get_contact_firstname" /
"$get_contact_lastname" /
"$get_contact_phone"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment