Class LaconfigParser
Parses Laconfig lexer output into laconic configuration node graph
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.CodeAnalysis.Laconfig
Assembly: Azos.dll
Syntax
public sealed class LaconfigParser : Parser<LaconfigLexer>, IConfigurable, IParser, ICodeProcessor
Constructors
LaconfigParser(LaconfigData, LaconfigLexer, MessageList, Boolean)
Declaration
public LaconfigParser(LaconfigData context, LaconfigLexer input, MessageList messages = null, bool throwErrors = false)
Parameters
Type | Name | Description |
---|---|---|
LaconfigData | context | |
LaconfigLexer | input | |
MessageList | messages | |
System.Boolean | throwErrors |
Properties
Language
Declaration
public override Language Language { get; }
Property Value
Type | Description |
---|---|
Language |
Overrides
Lexer
Declaration
public LaconfigLexer Lexer { get; }
Property Value
Type | Description |
---|---|
LaconfigLexer |
ResultContext
Declaration
public LaconfigData ResultContext { get; }
Property Value
Type | Description |
---|---|
LaconfigData |
Methods
DoParse()
Declaration
protected override void DoParse()
Overrides
Azos.CodeAnalysis.Parser<Azos.CodeAnalysis.Laconfig.LaconfigLexer>.DoParse()
MessageCodeToString(Int32)
Declaration
public override string MessageCodeToString(int code)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | code |
Returns
Type | Description |
---|---|
System.String |