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

me.wener.jraphql.parser.antlr.BypassNode Maven / Gradle / Ivy

There is a newer version: 0.0.9
Show newest version
package me.wener.jraphql.parser.antlr;

import java.util.List;
import lombok.Data;
import me.wener.jraphql.lang.Comment;
import me.wener.jraphql.lang.SourceLocation;

/**
 * @author wener
 * @since 16/03/2018
 */
@Data
class BypassNode implements me.wener.jraphql.lang.Node {

  private T value;

  public static  BypassNode of(T value) {
    return new BypassNode().setValue(value);
  }

  @Override
  public SourceLocation getSourceLocation() {
    throw new UnsupportedOperationException();
  }

  @Override
  public List getComments() {
    throw new UnsupportedOperationException();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy