public NpegParserVisitor(IInputIterator iterator, IAstNodeFactory astNodeFactory) { this.iterator = iterator; Warnings = new List <Warn>(); _sandbox.Push(new Stack <AstNode>()); // initial base sandbox IsOptimized = false; _astNodeFactory = astNodeFactory; }
public AstBuilder(IAstNodeFactory astNodeFactory, IProdInfoFactory prodInfoFactory, Stack <IAstNode> stack, IDebugTracer tracer) { _astNodeFactory = astNodeFactory; _prodInfoFactory = prodInfoFactory; _tracer = tracer; _tokenDefinitions = new List <ITokenDefinition>(); _stack = stack; _tokenDefinitions = new List <ITokenDefinition>(); }
public NpegParser(InputIterator iterator, IAstNodeFactory createCustomAstNode) { this.iterator = iterator; pointerAstNodeFactory = createCustomAstNode; sandbox.Push(new Stack <AstNode>()); }
public NpegParserVisitor(IInputIterator iterator, IAstNodeFactory astNodeFactory) { this.iterator = iterator; Warnings = new List<Warn>(); _sandbox.Push(new Stack<AstNode>()); // initial base sandbox IsOptimized = false; _astNodeFactory = astNodeFactory; }
public NpegParser(InputIterator iterator, IAstNodeFactory createCustomAstNode) { this.iterator = iterator; pointerAstNodeFactory = createCustomAstNode; sandbox.Push(new Stack<AstNode>()); }