gbf_core::decompiler

Module ast

Source
Expand description

This provides the AST for the decompiler.

Modules§

  • Contains the specifications for any AstNodes that are assignable.
  • Holds the macro that generates variants for the AST nodes.
  • Represents an AST vector.
  • Represents binary operations in the AST.
  • Contains the specifications for any AstNodes that are expressions
  • Contains the specifications for any AstNodes that are function calls.
  • Contains the specifications for any AstNodes that are functions.
  • Contains the specifications for any AstNodes that are identifiers.
  • Contains the specifications for any AstNodes that are literals.
  • Contains the specifications for any AstNodes that are member accesses.
  • Contains the specifications for any AstNodes that are metadata.
  • Represents a return node in the AST.
  • Represents SSA versioning for the AST.
  • Contains the specifications for any AstNodes that are statements
  • Represents unary operations in the AST.
  • Represents the visitor pattern for the AST.

Enums§

  • Represents an AST node.
  • Represents an error that occurred while converting an AST node.

Traits§

Functions§

  • Creates a metadata node with a comment
  • Creates a new return node.
  • Emits a node into a string.
  • Creates a new member access node.
  • Creates binary operation node.
  • Creates a new ExprNode for a literal boolean.
  • Creates a new ExprNode for a literal float.
  • Creates a new function call node.
  • Creates a new AssignableExpr for an identifier
  • Creates a new AssignableExpr for an identifier with an SSA version.
  • Creates a new ExprNode for a literal number.
  • Creates a new ExprNode for a literal string.
  • Creates a new unary operation node.
  • Creates a new AstNode for a statement.