com.sonar.sslr.api
Interface Grammar

All Known Implementing Classes:
CGrammar, CPreprocessorGrammar

public interface Grammar

A Grammar must be implemented to define the syntactic rules of a language.

See Also:
Rule, Backus�Naur Form

Method Summary
 Rule getRootRule()
          Each Grammar has always an entry point whose name is usually by convention the "Computation Unit".
 

Method Detail

getRootRule

Rule getRootRule()
Each Grammar has always an entry point whose name is usually by convention the "Computation Unit".

Returns:
the entry point of this Grammar


Copyright © 2011 SonarSource. All Rights Reserved.