Ejemplo n.º 1
0
 public void ParseCode()
 {
     using (new LoggerContextHelper(Logger)
            .Set("class", P.IdToNameMap.GetUserDefinedName(ClassItem.RawInfo.Id))
            .Set("method", P.IdToNameMap.GetUserDefinedName(MethodItem.Id)))
     {
         this.StatementBlock = EocStatementBlock.Translate(this, CodeDataParser.ParseStatementBlock(MethodItem.CodeData.ExpressionData, MethodItem.CodeData.Encoding));
     }
 }
Ejemplo n.º 2
0
 public void ParseCode()
 {
     using (new LoggerContextHelper(Logger)
            .Set("class", P.IdToNameMap.GetUserDefinedName(ClassItem.RawInfo.Id))
            .Set("method", P.IdToNameMap.GetUserDefinedName(MethodItem.Id)))
     {
         this.StatementBlock = EocStatementBlock.Translate(this, RawStatementBlock);
     }
 }
Ejemplo n.º 3
0
 public CodeConverter Optimize()
 {
     StatementBlock = StatementBlock.Optimize() as EocStatementBlock;
     return(this);
 }