diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-08-06T13·02+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2011-08-06T13·02+0000 |
commit | 54945a2950174ded83d58336061b4a9990cdbbfd (patch) | |
tree | 8789c505f73551e9a40d745cbb2858ddc683cd9c /src/libexpr/parser.hh | |
parent | c8606664abe952f74985503c831d31ae7a7369bc (diff) |
* Refactoring: move parseExprFromFile() and parseExprFromString() into
the EvalState class.
Diffstat (limited to 'src/libexpr/parser.hh')
-rw-r--r-- | src/libexpr/parser.hh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/libexpr/parser.hh b/src/libexpr/parser.hh deleted file mode 100644 index c8c8ad8090be..000000000000 --- a/src/libexpr/parser.hh +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef __PARSER_H -#define __PARSER_H - -#include "eval.hh" - - -namespace nix { - - -/* Parse a Nix expression from the specified file. If `path' refers - to a directory, then "/default.nix" is appended. */ -Expr * parseExprFromFile(EvalState & state, Path path); - -/* Parse a Nix expression from the specified string. */ -Expr * parseExprFromString(EvalState & state, const string & s, const Path & basePath); - - -} - - -#endif /* !__PARSER_H */ |