Class: Idl::NoopAst
Instance Method Summary collapse
-
#execute(symtab) ⇒ void
“execute” the statement by updating the variables in the symbol table.
-
#execute_unknown(symtab) ⇒ void
“execute” the statement, forcing any variable assignments to an unknown state This is used down unknown conditional paths.
-
#initialize ⇒ NoopAst
constructor
A new instance of NoopAst.
- #to_idl ⇒ Object
-
#type_check(symtab) ⇒ void
type check this node and all children.
Constructor Details
#initialize ⇒ NoopAst
Returns a new instance of NoopAst.
3701 3702 3703 |
# File 'lib/idl/ast.rb', line 3701 def initialize super("", 0...0, EMPTY_ARRAY) end |
Instance Method Details
#execute(symtab) ⇒ void
This method returns an undefined value.
“execute” the statement by updating the variables in the symbol table
3709 |
# File 'lib/idl/ast.rb', line 3709 def execute(symtab); end |
#execute_unknown(symtab) ⇒ void
This method returns an undefined value.
“execute” the statement, forcing any variable assignments to an unknown state This is used down unknown conditional paths.
3712 |
# File 'lib/idl/ast.rb', line 3712 def execute_unknown(symtab); end |
#to_idl ⇒ Object
3715 |
# File 'lib/idl/ast.rb', line 3715 def to_idl = "" |
#type_check(symtab) ⇒ void
This method returns an undefined value.
type check this node and all children
Calls to #type and/or #value may depend on type_check being called first with the same symtab. If not, those functions may raise an AstNode::InternalError
3706 |
# File 'lib/idl/ast.rb', line 3706 def type_check(symtab); end |