コード例 #1
0
 public static AnalyzerRoot FromPhaseGroup(PhaseGroupSyntax phaseGroup)
 {
     return(new AnalyzerRoot(phaseGroup.InterfaceName,
                             phaseGroup.InterfaceName.ToNonInterfaceName(),
                             PhaseHandlerAnalyzer.FromPhaseGroup(phaseGroup),
                             PhaseLogicAnalyzer.FromPhaseGroup(phaseGroup),
                             ContextTypeAnalyzer.FromPhaseGroup(phaseGroup).ToArray()));
 }
コード例 #2
0
 public AnalyzerRoot(TypeName definitionTypeName,
                     string phaseGroupName,
                     PhaseHandlerAnalyzer phaseHandler,
                     PhaseLogicAnalyzer phaseLogic,
                     ContextTypeAnalyzer[] contextTypes)
 {
     DefinitionTypeName = definitionTypeName;
     PhaseGroupName     = phaseGroupName;
     PhaseHandler       = phaseHandler;
     PhaseLogic         = phaseLogic;
     ContextTypes       = contextTypes;
 }