def __init__(self, type, start_token, parent):
    """Initializes the context object.

    Args:
      type: The context type.