Class PrecompilerConstantExpression
Parses the literal source text of a project-level #Const value (from the .rdproj or a
--define argument) into a VBTypedValue, following the literal-typing rules of
MS-VBAL §3.3.2.
public static class PrecompilerConstantExpression
- Inheritance
-
PrecompilerConstantExpression
- Inherited Members
Remarks
👉 Only bare literals (optionally with a leading -) are recognised — the full
<cc-expression> operator grammar is a semantic-layer concern. An unrecognised value is
rejected rather than guessed.
Methods
TryParse(string?, out VBTypedValue?)
public static bool TryParse(string? source, out VBTypedValue? value)
Parameters
sourcestringvalueVBTypedValue