abstract class
CrShader::BaseVisitor
- CrShader::BaseVisitor
- Crystal::Visitor
- Reference
- Object
Direct Known Subclasses
Defined in:
crshader/transpiler/base.crConstructors
Instance Method Summary
- #current_function_name : String | Nil
- #current_function_name=(current_function_name : String | Nil)
- #current_return_type : String | Nil
- #current_return_type=(current_return_type : String | Nil)
- #emit_block_body(node : Crystal::ASTNode, is_function_body : Bool = false)
- #emit_indent
- #in_expression : Bool
- #in_expression=(in_expression : Bool)
- #in_function_return : Bool
- #in_function_return=(in_function_return : Bool)
- #in_processor_function : Bool
- #in_processor_function=(in_processor_function : Bool)
- #indent(&)
- #indent_level : Int32
- #indent_level=(indent_level : Int32)
- #io : IO
- #io=(io : IO)
- #symbol_table : SymbolTable
- #symbol_table=(symbol_table : SymbolTable)
- #target : ShaderTarget
- #target=(target : ShaderTarget)
- #visit(node : Crystal::Expressions)
- #visit(node : Crystal::Assign)
- #visit(node : Crystal::OpAssign)
- #visit(node : Crystal::TypeDeclaration)
- #visit(node : Crystal::If)
- #visit(node : Crystal::ArrayLiteral)
- #visit(node : Crystal::Case)
- #visit(node : Crystal::Unless)
- #visit(node : Crystal::While)
- #visit(node : Crystal::Until)
- #visit(node : Crystal::Return)
- #visit(node : Crystal::Break)
- #visit(node : Crystal::Next)
- #visit(node : Crystal::And)
- #visit(node : Crystal::Or)
- #visit(node : Crystal::Not)
- #visit(node : Crystal::Var)
- #visit(node : Crystal::Path)
- #visit(node : Crystal::NumberLiteral)
- #visit(node : Crystal::BoolLiteral)
- #visit(node : Crystal::StringLiteral)
- #visit(node : Crystal::RangeLiteral)
- #visit(node : Crystal::Call)
- #visit(node : Crystal::ASTNode)