V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zxCoder
V2EX  ›  问与答

在解析 sql 语法的时候,语法树和分析树有什么区别

  •  
  •   zxCoder · Dec 29, 2020 · 690 views
    This topic created in 1958 days ago, the information mentioned may be changed or developed.

    比如 from aaa,bbb,ccc

    对应文法是<fromlist>:=<field>|<field>,<fromlist>

    那么生成树的时候,是直接把三个<field>都作为<fromlist>的儿子节点,还是按照文法的写法,第一个<fromlist>有一个<field>和一个<fromlist>作为儿子,这样

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3058 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 05:40 · PVG 13:40 · LAX 22:40 · JFK 01:40
    ♥ Do have faith in what you're doing.