/// <summary> /// Hebben we een functiedeclaratie bovenop de stack /// Eraf halen /// Dit is weer reachable /// </summary> /// <param name="l"></param> public void Visit(EndFunctionDeclaration l) { Reachable(); if (CheckGeneric(l)) { return; } // Expressie gevonden? if (l.Param != String.Empty) { _errors.Add(new UnexpectedInputException(l.SourceCodeContext, l.Param)); } if (_tomatch.Count > 0 && (_tomatch[_tomatch.Count - 1] is FunctionDeclaration)) { _tomatch.RemoveAt(_tomatch.Count - 1); } else { _errors.Add(new EndFunctionNotMatchedException(l.SourceCodeContext)); } }
public void Visit(EndFunctionDeclaration l) { _level -= _templatetabs; Format(l); }
public void Visit(EndFunctionDeclaration l) { VisitStatementComment(l); }