Skip to content

Instantly share code, notes, and snippets.

@AlexPl292
Created March 17, 2021 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlexPl292/d88b263c5485ce03dba90f541d638e84 to your computer and use it in GitHub Desktop.
Save AlexPl292/d88b263c5485ce03dba90f541d638e84 to your computer and use it in GitHub Desktop.
AST
int myFunction(char myProperty) {
  return 5;
}

AST:

FUNCTION:
  name: myFunction
  return_type: int
  parameters:
    - PARAMETER:
        name: myProperty
        return_type: char
  BODY:
    STATEMENTS:
      - return 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment