io.protostuff.compiler.parser.ProtoContext Maven / Gradle / Ivy
The newest version!
package io.protostuff.compiler.parser;
import io.protostuff.compiler.model.Element;
import io.protostuff.compiler.model.Proto;
import io.protostuff.compiler.model.Type;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.io.FilenameUtils;
/**
* Proto context is a holder for proto file and related
* infrastructure - symbol tables, extension registry, etc.
*
* @author Kostiantyn Shchepanovskyi
*/
public class ProtoContext {
private final String filename;
private final Map symbolTable;
private final Deque