class
ClassicParser
: public Parser
(Return to index)
A parser for the standard input format (SIF) described in
{center}
D. C. Carey and F. Ch. Iselin:{br}
A Standard Input Language for Particle Beam and Accelerator{br}
Computer Programs.{br}
1984 Snowmass Summer Study.
{/center}
This is the default parser for the CLASSIC standard input language.
The program should declare only one object of class ClassicParser.
Type: |
Instantiable |
Superclasses: |
public Parser |
Include file: |
./Parser/ClassicParser.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
ClassicParser
()
;
-
virtual ~ClassicParser
()
;
-
virtual void parse
(Statement&)const
;
-
virtual Statement* readStatement
(TokenStream*)const
;
-
virtual void run
(TokenStream*)const
;
Documentation:
- Public members:
-
virtual void parse
(Statement&)const
;
- Parse and execute the statement.
-
virtual Statement* readStatement
(TokenStream*)const
;
- Read complete statement from token stream.
-
virtual void run
(TokenStream*)const
;
- Read statements and parse.
Read one statement at a time on token stream, parse it, and execute it.
Documentation generated by fci on Mon Feb 7 11:41:33 2000