ExpressionParse Method (Parser, CodeObject, Boolean, String, ParseFlags) |
Parse an expression, stopping when default terminators, or the specified terminators, or a higher-precedence
operator is encountered.
Namespace:
Nova.CodeDOM
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public static Expression Parse(
Parser parser,
CodeObject parent,
bool isTopLevel = false,
string terminator = null,
ParseFlags flags = ParseFlags.None
)
Parameters
- parser
- Type: Nova.ParsingParser
The parser object. - parent
- Type: Nova.CodeDOMCodeObject
The parent object. - isTopLevel (Optional)
- Type: SystemBoolean
True if EOL comments can be associated with the expression during parsing - generally
true if the parent is a statement or expression list, but with some exceptions. - terminator (Optional)
- Type: SystemString
Optional terminating characters (null if none). - flags (Optional)
- Type: Nova.ParsingParseFlags
Parsing flags.
Return Value
Type:
ExpressionThe parsed
Expression.
See Also