All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jamon.parser.MethodParser Maven / Gradle / Ivy

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package org.jamon.parser;

import org.jamon.api.Location;
import org.jamon.compiler.ParserErrorsImpl;
import org.jamon.node.MethodNode;

public class MethodParser extends SubcomponentParser {
  /**
   * @param reader
   * @param errors
   */
  public MethodParser(
    String name, Location tagLocation, PositionalPushbackReader reader, ParserErrorsImpl errors) {
    super(new MethodNode(tagLocation, name), reader, errors);
  }

  @Override
  protected String tagName() {
    return "method";
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy