-wait_for_pid () { - verb="$1" # created | removed - pid="$2" # process ID of the program operating on the pid-file - pid_file_path="$3" # path to the PID file. - - i=0 -}
/** * Created by ppoffice on 2015/12/15. */ publicclassASTLeafextendsASTree{ privatestatic ArrayList<ASTree> empty = new ArrayList<>(); protected Token token;
publicASTLeaf(Token t){ token = t; }
@Override public ASTree child(int i){ thrownew IndexOutOfBoundsException(); }
@Override publicintnumChildren(){ return0; }
@Override public Iterator<ASTree> children(){ return empty.iterator(); }
public String toString(){ return token.getText(); }
@Override public String location(){ return"at line " + token.getLineNumber(); }