package com.ashardalon.pratt.commands; import com.ashardalon.pratt.ParserContext; /** * A 'meta-command' that yields the actual command to use. * * @author bjculkin * * @param * The key type of the context. * @param * The value type of the context. * @param * The storage type of the context. * */ public interface MetaInitialCommand { /** * Get the command to use. * * @param ctx * The current parser context. * @return The command to use. */ InitialCommand getCommand(ParserContext ctx); }