Cloud Firestore安全规则使用的语言名称是什么? [英] What is the name of the language used for Cloud Firestore security rules?

查看:44
本文介绍了Cloud Firestore安全规则使用的语言名称是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道用于Cloud Firestore安全规则的语法名称,如

I would like to know the name of the syntax used for the Cloud Firestore security rules as described at https://firebase.google.com/docs/firestore/security/get-started?authuser=0. I would like to find syntax highlighter for that syntax and maybe parsers for it.

推荐答案

Firebase安全规则是自定义DSL.

Firebase Security Rules is a custom DSL.

条件表达式类似于JS,应该与其中之一一起使用.路径匹配框架不太常见,但是我们正在努力在将来提供语法+其他工具(语法高亮,语法分析,类型检查,评估器).

Condition expressions are JS like, and should work with one of those. The path matching framework is less common, but we're working on providing the grammar + additional tooling (syntax highlighting, parsing, type checking, evaluators) in the future.

对于那些对历史感兴趣的人,其语义与 XACML 密切相关,提供更好的(非XML)语法.

For those interested in the history, the semantics are closely related to XACML, we just wanted to provide better (non-XML) syntax.

这篇关于Cloud Firestore安全规则使用的语言名称是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆