ESCGrammarStmt
Extends: RefCounted
Description
Base class that statements must inherit from as part of the “Visitor” pattern.
All inheriting classes must implement an accept method to invoke the visitor. For more information on the “Visitor” pattern, see: (Visitor Pattern)[https://en.wikipedia.org/wiki/Visitor_pattern]
Methods
accept
func accept(visitor: Variant) -> void
Method that invokes another method in the visitor against this, the implementing class.
Parameters
Name |
Type |
Description |
Required? |
|---|---|---|---|
visitor |
|
Visitor instance invoked to process this statement. |
yes |
Returns
Returns nothing.