LangFunc class
Represents a function definition in the Balbismo language.
A LangFunc encapsulates both the function name and its AST declaration node. This is used by the symbol table to track function definitions and enable function calls during compilation.
Example usage:
final func = LangFunc("addNumbers", funcDeclarationNode);
Constructors
- LangFunc.new(String name, FuncDec funcDec)
- Constructs a language function with the specified name and declaration.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited