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

org.modelcc.io.java.JavaLanguageMetadata Maven / Gradle / Ivy

Go to download

ModelCC is a model-based parser generator (a.k.a. compiler compiler) that decouples language specification from language processing, avoiding some of the problems caused by grammar-driven parser generators. ModelCC receives a conceptual model as input, along with constraints that annotate it. It is then able to create a parser for the desired textual language and the generated parser fully automates the instantiation of the language conceptual model. ModelCC also includes a built-in reference resolution mechanism that results in abstract syntax graphs, rather than mere abstract syntax trees.

The newest version!
package org.modelcc.io.java;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

import org.modelcc.language.metamodel.LanguageElement;
import org.modelcc.lexer.recognizer.PatternRecognizer;

public class JavaLanguageMetadata extends JavaModelReaderMetadata
{
	public Set elements = new HashSet();	
	public Map classToElement = new HashMap();
	public Map javaElementToElement = new HashMap();
	
	public LanguageElement start;
	
	public Set delimiters = new HashSet();	
	public Map pas = new HashMap();
	
	public Map superclasses = new HashMap();
	public Map> subclasses = new HashMap>();
	
	public Map prePriorities = new HashMap();
	public Map> prePrecedences = new HashMap>();
	public Map> precedences = new HashMap>();

	public Map> defaultElement = new HashMap>();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy