//------------------------------------------------------------ // コンストラクタ。 public ErrorInfo(ErrorKind aErrorKind, ModuleContext aModuleContext, Token aErrorToken) : this(aErrorKind, aModuleContext, aErrorToken, null, null) { }
//------------------------------------------------------------ // コンストラクタ。 public ModuleSymbolNode(ISymbolNode aParent, ModuleContext aModuleContext) { mModuleContext = aModuleContext; mBCModule = new BCModule(this); mTypeNode = new TypeSymbolNode(aParent, mBCModule, aModuleContext.ModuleDef.StaticTypeDef); }
//------------------------------------------------------------ // エラーを情報を設定する。 void setErrorInfo(ModuleContext aModuleContext, ErrorKind aErrorKind, Token aErrorToken) { mErrorInfo = new ErrorInfo(aErrorKind, aModuleContext, aErrorToken); }