Exemplo n.º 1
0
 public UndefinedSymbolException(
     BCake.Parser.Token token,
     string name,
     BCake.Parser.Syntax.Scopes.Scope scope
     )
     : base($"Undefined symbol - the symbol \"{name}\" has not been declared in this scope\n\tat scope {scope.FullName}", token)
 {
 }
Exemplo n.º 2
0
 public AccessViolationException(
     BCake.Parser.Token token,
     BCake.Parser.Syntax.Types.Type member,
     BCake.Parser.Syntax.Scopes.Scope sourceScope
     )
     : base($"Cannot access {member.Access} symbol \"{member.FullName}\" from current scope due to it's protection level", token)
 {
 }