Class LJSParser
Parses Laconfig lexer output into Laconic Java Script node graph embodies by LJSData
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 LJSParser : Parser<LaconfigLexer>, IConfigurable, IParser, ICodeProcessor
Constructors
LJSParser(LaconfigLexer, MessageList, Boolean)
Declaration
public LJSParser(LaconfigLexer input, MessageList messages = null, bool throwErrors = false)
Parameters
Type | Name | Description |
---|---|---|
LaconfigLexer | input | |
MessageList | messages | |
System.Boolean | throwErrors |
LJSParser(LJSData, LaconfigLexer, MessageList, Boolean)
Declaration
public LJSParser(LJSData context, LaconfigLexer input, MessageList messages = null, bool throwErrors = false)
Parameters
Type | Name | Description |
---|---|---|
LJSData | 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 LJSData ResultContext { get; }
Property Value
Type | Description |
---|---|
LJSData |
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 |