示例#1
0
 public object VisitBooleanFactorAST([NotNull] BooleanFactorASTContext context)
 {
     if (context.TRUE() != null)
     {
         AddLine($"LOAD_CONST {context.TRUE().GetText()}");
     }
     else
     {
         AddLine($"LOAD_CONST {context.FALSE().GetText()}");
     }
     return(null);
 }
示例#2
0
 public object VisitBooleanFactorAST([NotNull] BooleanFactorASTContext context)
 {
     return("bool");
 }