Module: Idl::Declaration
- Included in:
- BitfieldDefinitionAst, BuiltinEnumDefinitionAst, EnumDefinitionAst, FunctionDefAst, GlobalAst, GlobalWithInitializationAst, MultiVariableDeclarationAst, StructDefinitionAst, VariableDeclarationAst, VariableDeclarationWithInitializationAst
- Defined in:
- lib/idl/ast.rb
Overview
interface for any AstNode that introduces a new symbol into scope
Instance Method Summary collapse
-
#add_symbol(symtab) ⇒ Object
Add symbol(s) at the outermost scope of the symbol table.
Instance Method Details
#add_symbol(symtab) ⇒ Object
Add symbol(s) at the outermost scope of the symbol table
525 |
# File 'lib/idl/ast.rb', line 525 def add_symbol(symtab) = raise NotImplementedError, "#{self.class.name} must implment add_symbol" |