forked from PuqiAR/Fig-TreeWalker
- Add support for C-style for loops: for (init; condition; increment) { body }
- Implement three-level scoping: loop context + per-iteration contexts
- Add semicolon disabler for increment statements using RAII guards
- Support break/continue/return control flow with scope validation
- Fix semicolon handling in parser for flexible for-loop syntax
9 lines
119 B
C++
9 lines
119 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
namespace Fig
|
|
{
|
|
class Context;
|
|
using ContextPtr = std::shared_ptr<Context>;
|
|
}; |