Skip to content

Instantly share code, notes, and snippets.

@masak
Last active August 17, 2016 12:11
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 masak/ab28db9201e8d45c21ee60ea9ae7ad51 to your computer and use it in GitHub Desktop.
Save masak/ab28db9201e8d45c21ee60ea9ae7ad51 to your computer and use it in GitHub Desktop.
Current Qtree type hierarchy in 007
Q
+---(Q::Expr)
|   +---(Q::Term)
|   |   +---(Q::Literal)
|   |   |   +---Q::Literal::Bool
|   |   |   +---Q::Literal::Int
|   |   |   +---Q::Literal::Str
|   |   +---Q::Identifier
|   |   +---Q::Term::Array
|   |   +---Q::Term::Object
|   |   +---Q::Term::Sub
|   |   +---Q::Term::Quasi
|   +---Q::Prefix (-, !, ^)
|   +---Q::Infix (+, -, *, %, %%, ~, x, xx, ::, =, ==, !=, >, =>, <, <=, ||, //, &&, ~~, !~~)
|   +---Q::Postfix ([], (), .)
|   +---Q::Expr::StatementListAdapter
+---(Q::Statement)
|   +---Q::Statement::My
|   +---Q::Statement::Constant
|   +---Q::Statement::Expr
|   +---Q::Statement::If
|   +---Q::Statement::Block
|   |   +---Q::CompUnit
|   +---Q::Statement::For
|   +---Q::Statement::While
|   +---Q::Statement::Return
|   +---Q::Statement::Throw
|   +---Q::Statement::Sub
|   +---Q::Statement::Macro
|   +---Q::Statement::Class
|   +---Q::Statement::BEGIN
+---Q::Block
+---Q::Property
+---Q::PropertyList
+---Q::Trait
+---Q::TraitList
+---Q::Parameter
+---Q::ParameterList
+---Q::ArgumentList
+---Q::Unquote
    +---Q::Unquote::Prefix
    +---Q::Unquote::Infix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment