Class RCaronParser
Assembly: RCaron.dll
Declaration
csharp
public static class RCaronParser
Declaration
csharp
public static class RCaronParser
Properties
DefaultThrowHandler
Declaration
csharp
public static ParsingErrorThrowHandler DefaultThrowHandler { get; }
Declaration
csharp
public static ParsingErrorThrowHandler DefaultThrowHandler { get; }
FromPipelineObject
Declaration
csharp
public static object FromPipelineObject { get; }
Declaration
csharp
public static object FromPipelineObject { get; }
Methods
Parse(string, bool, bool, IParsingErrorHandler?)
Declaration
csharp
public static RCaronParserContext Parse(string text, bool returnIgnored = false, bool returnDescriptive = false, IParsingErrorHandler? errorHandler = null)
Declaration
csharp
public static RCaronParserContext Parse(string text, bool returnIgnored = false, bool returnDescriptive = false, IParsingErrorHandler? errorHandler = null)
Returns
RCaron.Parsing.RCaronParserContext
Parameters
GetLine(PosToken[], ref int, in string, IParsingErrorHandler)
Declaration
csharp
public static Line GetLine(PosToken[] tokens, ref int i, in string text, IParsingErrorHandler errorHandler)
Declaration
csharp
public static Line GetLine(PosToken[] tokens, ref int i, in string text, IParsingErrorHandler errorHandler)
Returns
RCaron.Line
Parameters
DoFunction(IList<PosToken>, IParsingErrorHandler, int)
Declaration
csharp
public static (string name, FunctionArgument[]? arguments) DoFunction(IList<PosToken> tokens, IParsingErrorHandler errorHandler, int offset = 0)
Declaration
csharp
public static (string name, FunctionArgument[]? arguments) DoFunction(IList<PosToken> tokens, IParsingErrorHandler errorHandler, int offset = 0)
Returns
System.ValueTuple<System.String,RCaron.FunctionArgument[]>
Parameters
EvaluateConstantToken(PosToken, IParsingErrorHandler)
Declaration
csharp
public static object? EvaluateConstantToken(PosToken token, IParsingErrorHandler errorHandler)
Declaration
csharp
public static object? EvaluateConstantToken(PosToken token, IParsingErrorHandler errorHandler)
Returns
System.Object
Parameters