コード例 #1
0
ファイル: Parser.cs プロジェクト: ajlopez/AjLang
 private void PushToken(Token token)
 {
     this.tokens.Push(token);
 }
コード例 #2
0
ファイル: Parser.cs プロジェクト: ajlopez/AjLang
        private static bool IsReservedWord(Token token)
        {
            if (token != null && token.Type == TokenType.Name && reserved.Contains(token.Value))
                return true;

            return false;
        }