Skip to main content

Caustic's Abstract Syntax Tree, or CST

Project description

Caustic's Abstract Syntax Tree

Note that the serialize module, instead of providing node types, provides (de)serialization functions for nodes

Nodes

Note: Treat all names as being under caustic.cst

Note: nodes marked with * are considered "base" nodes, and nodes prefixed with _ are implementation details used purely for grouping

CSTNode*
 ├─ CustomNode
 ├─ block.Block
 ├─ typedecl.Type
 ├─ expressions.Expression*
 │   ├─ procedure.ProcedureExpr
 │   ├─ procedure.Invokation
 │   ├─ expressions.atoms.Atom*
 │   │   ├─ expressions.atoms.Identifier
 │   │   ├─ expressions.atoms.DottedIdentifier
 │   │   └─ expressions.atoms.Integer
 │   ├─ expressions.operators.Operation*
 │   │   ├─ expressions.operators._UnaryOp*
 │   │   │   ├─ expressions.operators.Positive
 │   │   │   ├─ expressions.operators.Negative
 │   │   │   ├─ expressions.operators.LogInverse
 │   │   │   ├─ expressions.operators.BitInverse
 │   │   │   ├─ expressions.operators.Increment
 │   │   │   └─ expressions.operators.Decrement
 │   │   ├─ expressions.operators._BinaryOp*
 │   │   │   ├─ expressions.operators.Subscription
 │   │   │   ├─ expressions.operators.Add
 │   │   │   ├─ expressions.operators.Sub
 │   │   │   ├─ expressions.operators.Mult
 │   │   │   ├─ expressions.operators.MMul
 │   │   │   ├─ expressions.operators.Div
 │   │   │   ├─ expressions.operators.Mod
 │   │   │   ├─ expressions.operators.Exp
 │   │   │   ├─ expressions.operators.EQ
 │   │   │   ├─ expressions.operators.NE
 │   │   │   ├─ expressions.operators.LT
 │   │   │   ├─ expressions.operators.LE
 │   │   │   ├─ expressions.operators.GT
 │   │   │   ├─ expressions.operators.GE
 │   │   │   ├─ expressions.operators.NullCoalescing
 │   │   │   ├─ expressions.operators.LogAnd
 │   │   │   ├─ expressions.operators.LogOr
 │   │   │   ├─ expressions.operators.LogXOr
 │   │   │   ├─ expressions.operators.BitAnd
 │   │   │   ├─ expressions.operators.BitOr
 │   │   │   ├─ expressions.operators.BitXOr
 │   │   │   ├─ expressions.operators.LShift
 │   │   │   └─ expressions.operators.RShift
 │   │   └─ expressions.operators.TernaryConditional
 └─ statements.Statement*
     ├─ procedure.ProcedureStmt
     ├─ statements.Declaration
     ├─ statements.Assignment
     ├─ statements.If
     │   └─ statements.Elif
     ├─ statements.Else
     ├─ statements.While
     │   ├─ statements.DoWhile
     │   └─ statements.For
     ├─ statements.ForOf
     └─ statements.objects.Object*
         ├─ statements.objects.Enum
         ├─ statements.objects.Struct
         ├─ statements.objects.Namespace
         └─ statements.objects.Class

Project details


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-2.1.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caustic.cst-2.1.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file caustic.cst-2.1.1.tar.gz.

File metadata

  • Download URL: caustic.cst-2.1.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for caustic.cst-2.1.1.tar.gz
Algorithm Hash digest
SHA256 1237c029de44f24a6fcf5398be1ec19e0e5482323a4903a80507be6fedc4e5f9
MD5 9993d56d06e67e431c04a3e0277b6307
BLAKE2b-256 d78e37960b9fd18207ae08e93fd0b057980b420f5f0bc523310fa0be109191fc

See more details on using hashes here.

File details

Details for the file caustic.cst-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: caustic.cst-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for caustic.cst-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3a465eb2f107aa131d68837688a6a0284c4aaaa90331e172b0df1b51619e8c3
MD5 ce6bc632978b8b5e7be113484d677129
BLAKE2b-256 aecb938dce21801172ba2f26c18a0293f02d635968f61efb2201efa1c109f2d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page