public AstHelper(ModuleBuilder moduleBuilder) { ModuleBuilder = moduleBuilder; Expecting = new Expecting(); Functions = new FunctionScope(); Variables = new VariableScope(); Types = new TypeScope(); Errors = new ErrorSet(); ReturnScope = new ReturnScope(); }
public AstHelper(ModuleBuilder moduleBuilder) { ModuleBuilder = moduleBuilder; Expecting = new Expecting(); Functions = new FunctionScope(); Variables = new VariableScope(); Types = new TypeScope(); Errors = new ErrorSet(); ReturnScope = new ReturnScope(); }
public ExpectingTypeError(SourceLocation location, Expecting expecting) : base(location) { _expecting = expecting; }
protected internal override void CheckSemantics(AstHelper astHelper) { base.CheckSemantics(astHelper); _expecting = astHelper.Expecting; }
protected internal override void CheckSemantics(AstHelper astHelper) { base.CheckSemantics(astHelper); _expecting = astHelper.Expecting; }