예제 #1
0
 public override bool Walk(ErrorStatement node)
 {
     HasError = true;
     return false;
 }
예제 #2
0
파일: Parser.cs 프로젝트: omnimark/PTVS
        private ErrorStatement ErrorStmt(string verbatimImage = null, params Statement[] preceeding) {
            var res = new ErrorStatement(preceeding);
            if (verbatimImage != null) {
                AddVerbatimImage(res, verbatimImage);
            }

            res.SetLoc(GetStart(), GetEnd());
            return res;
        }
예제 #3
0
 public override void PostWalk(ErrorStatement node) { PostWalkWorker(node); }
예제 #4
0
 public override bool Walk(ErrorStatement node) {
     UpdateChildRanges(node);
     return base.Walk(node);
 }
예제 #5
0
 // ErrorStatement
 public override bool Walk(ErrorStatement node) { return ShouldWalkWorker(node); }