public PatternUst VisitPatternTryCatchStatement(DslParser.PatternTryCatchStatementContext context) { IEnumerable <PatternUst> exceptionTypes = ProcessLiteralsOrPatternIds(context.literalOrPatternId()); bool isCatchBodyEmpty = context.Ellipsis() == null; var result = new PatternTryCatchStatement(exceptionTypes, isCatchBodyEmpty, context.GetTextSpan()); return(result); }
public virtual T Visit(PatternTryCatchStatement patternTryCatchStatement) { return(VisitChildren(patternTryCatchStatement)); }
public UstNode VisitPatternTryCatchStatement(DslParser.PatternTryCatchStatementContext context) { var result = new PatternTryCatchStatement(context.GetTextSpan(), null); return(result); }
public virtual void Exit(PatternTryCatchStatement patternTryCatchStatement) { }