Caustic's Abstract Syntax Tree, or CST
Project description
Caustic's Abstract Syntax Tree
Nodes
Note: Treat all names as being under
caustic.cst
This took way too long to make
bases.CausticASTNode
├─ bases.BaseStatement
│ ├─ statement.ImportStatement
│ ├─ statement.ExportStatement
│ ├─ statement.IfStatement
│ │ └─ statement.ElifStatement
│ ├─ statement.ElseStatement
│ ├─ statement.ForStatement
│ └─ statement.WhileStatement
├─ bases.BaseExpression
│ ├─ bases.BaseOperator
│ │ ├─ bases.BaseUnaryOperator
│ │ │ ├─ expression.UPlus
│ │ │ ├─ expression.UMinus
│ │ │ ├─ expression.Increment
│ │ │ ├─ expression.Decrement
│ │ │ ├─ expression.BitInvert
│ │ │ └─ expression.LogNot
│ │ ├─ bases.BaseBinaryOperator
│ │ │ ├─ expression.AssignExpr
│ │ │ ├─ expression.Add
│ │ │ ├─ expression.Sub
│ │ │ ├─ expression.Mult
│ │ │ ├─ expression.Div
│ │ │ ├─ expression.Mod
│ │ │ ├─ expression.MMul
│ │ │ ├─ expression.Equality [EQ]
│ │ │ ├─ expression.Inequality [NE]
│ │ │ ├─ expression.LessThan [LT]
│ │ │ ├─ expression.GreaterThan [GT]
│ │ │ ├─ expression.LessThanOrEquality [LE]
│ │ │ ├─ expression.GreaterThanOrEquality [GE]
│ │ │ ├─ expression.Nullish
│ │ │ ├─ expression.LogAnd
│ │ │ ├─ expression.LogOr
│ │ │ ├─ expression.LogXor
│ │ │ ├─ expression.BitAnd
│ │ │ ├─ expression.BitOr
│ │ │ ├─ expression.BitXor
│ │ │ ├─ expression.LShift
│ │ │ └─ expression.RShift
│ │ └─ expression.Ternary
│ └─ bases.BaseAtom
│ ├─ bases.BaseLiteral
│ │ ├─ atom.Integer
│ │ ├─ atom.Decimal
│ │ ├─ atom.Char
│ │ ├─ atom.Bytes
│ │ └─ atom.String
│ ├─ atom.Identifier
│ └─ atom.DottedIdentifier
├─ block.Line
└─ block.Block
"Mod" nodes
These nodes are used along with compiler mods (by using the insmod
directive, for instance)
Note: Nodes under the
bases
name are not used with mods, but the nodes under them inherit from them
Exceptions
bases.BaseStatement
├─ mods.m_exception.RaiseStatement
├─ mods.m_exception.TryStatement
├─ mods.m_exception.CatchStatement
└─ mods.m_exception.LowerStatement
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
caustic.cst-1.1.0.tar.gz
(9.6 kB
view hashes)
Built Distribution
Close
Hashes for caustic.cst-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 211a59309d92f2aba2b5ea2d77d8d9fd6f2a924682523a3b507d9f9343a892ad |
|
MD5 | 4e25c9caf1ce58ca26d1f472dc8b93cb |
|
BLAKE2b-256 | 18e69d4190f7722fd78d9057b4148fa5d474573cbb51f0bd0c00f83fbf02748e |