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

ai.vespa.schemals.schemadocument.parser.Identifier Maven / Gradle / Ivy

There is a newer version: 8.441.21
Show newest version
package ai.vespa.schemals.schemadocument.parser;

import java.util.List;

import org.eclipse.lsp4j.Diagnostic;

import ai.vespa.schemals.context.ParseContext;
import ai.vespa.schemals.tree.Node;

/**
 * Identifier is a abstract class to represent functions to identifiy patterns in the AST and do actions based on those actions.
 */
public abstract class Identifier {

    protected ParseContext context;

    public Identifier(ParseContext context) {
        this.context = context;
    }

    public abstract List identify(T node);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy