Jump to start (process)

The diagrams are in order from the entry rule to the last rule found

Please be aware this was generated using the default template but you can make your own templates that are much more pretty

See the nearley grammar as a railroad here

PS this is from about 4 different grammar files

process - Start

main

main

rootclass pubrootclass %ws %nl

pubrootclass

public %ws class %ws %wordc %ws { %nl classbody }

rootclass

class %ws %wordc %ws { %nl classbody }

classbody

pubmethod method %nl %ws

method

type %ws %wordc ( ) %ws { %nl methodbody }

pubmethod

public %ws type %ws %wordc ( ) %ws { %nl methodbody }

methodbody

%nl %ws call

call

%wordc ( args ) ;

args

value value , args value

value

%str %str

type

any