Inheritance: OutputFile
示例#1
0
        public Lexer(OutputModelFactory factory, LexerFile file)
            : base(factory)
        {
            this.file = file; // who contains us?

            Grammar g = factory.GetGrammar();
            channels = new LinkedHashMap<string, int>(g.channelNameToValueMap);
            modes = ((LexerGrammar)g).modes.Keys;
        }
示例#2
0
        public Lexer(OutputModelFactory factory, LexerFile file)
            : base(factory)
        {
            this.file = file; // who contains us?

            Grammar g = factory.GetGrammar();

            channels = new LinkedHashMap <string, int>(g.channelNameToValueMap);
            modes    = ((LexerGrammar)g).modes.Keys;
        }
 public virtual Lexer Lexer(LexerFile file)
 {
     return null;
 }
 public virtual LexerFile LexerFile(LexerFile f)
 {
     return f;
 }
 public virtual Lexer Lexer(LexerFile file)
 {
     return new Lexer(@delegate, file);
 }