private JobReference parseJobReference(boolean allowArguments) {
		Token jobDefinitionNameToken = tokens.eat(TokenKind.IDENTIFIER);
		tokens.checkpoint();
		ArgumentNode[] args = null;
		if (allowArguments) {
			args = maybeEatModuleArgs();
		}
		// Not currently policing this
		//		else {
		//			if (tokens.peek(TokenKind.DOUBLE_MINUS)) {
		//				tokens.raiseException(tokens.peek().startpos,
		//						JobDSLMessage.JOB_REF_DOES_NOT_SUPPORT_OPTIONS, jobDefinitionNameToken.data);
		//			}
		//		}
		return new JobReference(jobDefinitionNameToken, args);
	}
Parse a job flow definition into an abstract syntax tree (AST).

@param jobSpecification the textual job specification
@return the AST for the parsed job
@throws JobSpecificationException if any problems occur during parsing
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/job/dsl/JobParser.java