Class AttributeRemover

  • All Implemented Interfaces:
    ExpressionVisitorExpression

    public class AttributeRemover
    extends ExpressionCloner
    Creates an expression whose AttributeExp is completely replaced by epsilon. This step is used to erase all unconsumed AttributeExp from the expression. This class is used for error recovery. Usually, unconsumed attributes indicates a violation of the validity.
    Author:
    Kohsuke KAWAGUCHI