ParserFile Class

Definition

Line 6 of scm2html/ParserFile.cm

Constructors & Destructor

public ParserFile(const String<char>& fileName_)

Member Functions

public void Accept(Visitor& visitor)
public void AddParser(GrammarParser* parser)
public void AddUsingDirective(Node* usingDirective)
public const String<char>& FileName() const
public const List<UniquePtr<GrammarParser>>& Parsers() const
public const List<UniquePtr<Node>>& UsingDirectives() const

Member Variables

private String<char> fileName
private List<UniquePtr<GrammarParser>> parsers
private List<UniquePtr<Node>> usingDirectives

Constructor& Destructor Details

ParserFile Constructor

public ParserFile(const String<char>& fileName_)

Definition
Line 8 of scm2html/ParserFile.cm


Member Function Details

Accept Member Function

public void Accept(Visitor& visitor)

Definition
Line 32 of scm2html/ParserFile.cm


AddParser Member Function

public void AddParser(GrammarParser* parser)

Definition
Line 28 of scm2html/ParserFile.cm


AddUsingDirective Member Function

public void AddUsingDirective(Node* usingDirective)

Definition
Line 24 of scm2html/ParserFile.cm


FileName Member Function

public const String<char>& FileName()

Definition
Line 12 of scm2html/ParserFile.cm


Parsers Member Function

public const List<UniquePtr<GrammarParser>>& Parsers()

Definition
Line 20 of scm2html/ParserFile.cm


UsingDirectives Member Function

public const List<UniquePtr<Node>>& UsingDirectives()

Definition
Line 16 of scm2html/ParserFile.cm