ParserFile Class

Definition

Line 27 of scmpg/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 29 of scmpg/ParserFile.cm


Member Function Details

Accept Member Function

public void Accept(Visitor& visitor)

Definition
Line 53 of scmpg/ParserFile.cm


AddParser Member Function

public void AddParser(GrammarParser* parser)

Definition
Line 49 of scmpg/ParserFile.cm


AddUsingDirective Member Function

public void AddUsingDirective(Node* usingDirective)

Definition
Line 45 of scmpg/ParserFile.cm


FileName Member Function

public const String<char>& FileName()

Definition
Line 33 of scmpg/ParserFile.cm


Parsers Member Function

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

Definition
Line 41 of scmpg/ParserFile.cm


UsingDirectives Member Function

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

Definition
Line 37 of scmpg/ParserFile.cm