ctrump::optimizer::AnalysisResultBase Class Reference

Inheritance diagram for ctrump::optimizer::AnalysisResultBase:

Inheritance graph
[legend]

Public Member Functions

def __init__
def get_region
def get_errors
def get_warnings
def get_enabled_translators
def get_hints
def get_stmt
def do_translate
def do_translate_by_name
def get_enabled_translator_names
def __repr__

Data Fields

 stmt
 errors
 warnings
 hints
 enabled_translators

Detailed Description

解析結果オブジェクト

Definition at line 100 of file optimizer.py.


Member Function Documentation

def ctrump::optimizer::AnalysisResultBase::__init__ (   self,
  stmt,
  errors,
  warnings,
  hints,
  enabled_translators 
)

Definition at line 103 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::get_region (   self  ) 

対象範囲

Definition at line 110 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::get_errors (   self  ) 

エラーのリストを取得

Definition at line 130 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::get_warnings (   self  ) 

警告のリストを取得

Definition at line 133 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::get_enabled_translators (   self  ) 

有効なトランスレータのリストを取得

Definition at line 136 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::get_hints (   self  ) 

ヒントのリストを取得

Definition at line 139 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::get_stmt (   self  ) 

対象となっている文を取得

Definition at line 142 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::do_translate (   self,
  translator,
  global_option,
  translate_option 
)

トランスレートを行う
:param translator:translator object:
:param global_option:グローバルオプション + エンジンオプションを合わせたOptionValueの値
:param translate_option:トランスレートオプションの値
:return: list of new programs

Reimplemented in ctrump::optimizer::LoopAnalysisResult.

Definition at line 146 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::do_translate_by_name (   self,
  translator_name,
  global_option,
  translate_option 
)

Definition at line 155 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::get_enabled_translator_names (   self  ) 

Definition at line 161 of file optimizer.py.

def ctrump::optimizer::AnalysisResultBase::__repr__ (   self  ) 

Definition at line 164 of file optimizer.py.


Field Documentation

Definition at line 104 of file optimizer.py.

Definition at line 105 of file optimizer.py.

Definition at line 106 of file optimizer.py.

Definition at line 107 of file optimizer.py.

Definition at line 108 of file optimizer.py.


The documentation for this class was generated from the following file:

Generated on Tue Mar 31 20:19:53 2009 for ctrump by  doxygen 1.5.6