Пример #1
0
 public IFile ParseFile()
 {
     return(myIntern.DoWithIdentifierIntern(intern =>
     {
         var element = ParseShaderLabFile();
         InsertMissingTokens(element, intern);
         return (IFile)element;
     }));
 }
Пример #2
0
 public IFile ParseFile()
 {
     return(myCommonIdentifierIntern.DoWithIdentifierIntern(intern =>
     {
         myTokenIntern = intern;
         var file = (LexFile)parseLexFile();
         InsertMissingTokens(file, false, intern);
         myTokenIntern = null;
         return file;
     }));
 }