Grammar
Grammar
Parser settings
Calculator expressions
Comments
Whitespace
Classes
Parser
CodeElement
CodeDocument
Installation
Download
(Namespace: IntoTheCode)
Inherits IntoTheCode.TextElement
Represents a code document.
Function: Load(IntoTheCode.Parser,System.String)
Function: GetValue()
Function: ToMarkup(System.Boolean)
(Namespace: IntoTheCode)
Inherits IntoTheCode.TextElement
The Elements that is read as part of a syntax.
(Namespace: IntoTheCode)
Read text according to a grammar. The parser holds the parser elements to read a code. Parser = a program that reads code, acording to a grammar. ParserElement = an element of a program that reads code elements, acording to a syntax element.
Property: Name
Name of grammar; The name of the first rule.
Property: Rules
Property for parser elements.
Constructor(System.String)
Function: GetGrammar()
(Namespace: IntoTheCode.Basic.Layer)
Baseclass to implement INotifyPropertyChanged.
Function: RaisePropertyChanged(System.Linq.Expressions.Expression{System.Func{System.Object}})
Function: RaisePropertyChanged(System.String)
(Namespace: IntoTheCode.Basic)
A Element has a parent, a string value (text) and a set of sub elements.
Property: Name
Property for name.
Property: Parent
Property for parent element.
Property: ChildNodes
Property for sub elements (elements).
Function: GetValue()
Function: Nodes(System.String)
Function: Nodes(System.Func{`0,System.Boolean})
Function: AnyNested(System.Func{`0,System.Boolean})
(Namespace: IntoTheCode.Buffer)
Inherits IntoTheCode.Buffer.TextBuffer
(Namespace: IntoTheCode)
Inherits IntoTheCode.CodeElement
Comments from the Text.
(Namespace: IntoTheCode)
Error when the input doesn't match the Grammar.
Constructor(System.String)
(Namespace: IntoTheCode.Read)
Inherits IntoTheCode.TextElement
A hard coded element.
(Namespace: IntoTheCode.Read)
The meta-grammar for proces grammar definitions. The Instance property is a singleton parser of grammares. This class contains a hard coded parser and a string MetaGrammer, to build rules of the meta parser.
Property: SoftMetaGrammarAndSettings
The meta grammar for proces other grammares.
Property: MetaGrammar
The meta grammar for proces other grammares.
Property: MetaSettings
The settings of meta grammar.
Constructor()
A linked grammar for EBNF.
(Namespace: IntoTheCode.Read)
Build Grammar elements for a parser from dokument
Function: BuildRules(IntoTheCode.Parser,IntoTheCode.CodeDocument,IntoTheCode.Read.ParserStatus)
Function: InitializeGrammar(IntoTheCode.Parser,System.Collections.Generic.List{IntoTheCode.Read.Structure.Rule},IntoTheCode.Read.ParserStatus)
Function: InitializeElements(System.Collections.Generic.IEnumerable{IntoTheCode.Read.ParserElementBase},System.Collections.Generic.List{IntoTheCode.Read.Structure.Rule},IntoTheCode.Read.ParserStatus)
Function: InitializeResolve(System.Collections.Generic.List{IntoTheCode.Read.Structure.Rule},IntoTheCode.Read.Structure.RuleLink,IntoTheCode.Read.ParserStatus)
Function: ApplySettingsFromGrammar(IntoTheCode.Parser,IntoTheCode.CodeDocument,IntoTheCode.Read.ParserStatus)
Function: ValidateGrammar(IntoTheCode.Parser,IntoTheCode.Read.ParserStatus)
(Namespace: IntoTheCode.Read)
Inherits
A basic element (or symbol) of a Grammar. Can read a peace of code/text.
Function: CloneForParse(IntoTheCode.Buffer.TextBuffer)
Function: SetProperty(IntoTheCode.CodeElement,System.String,IntoTheCode.Read.ParserStatus)
Function: SetPointerBack(System.Int32)
Function: Load(System.Collections.Generic.List{IntoTheCode.TextElement},System.Int32)
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
Function: ResolveErrorsForward(System.Int32)
Function: InitializeLoop(System.Collections.Generic.List{IntoTheCode.Read.Structure.Rule},System.Collections.Generic.List{IntoTheCode.Read.ParserElementBase},IntoTheCode.Read.ParserStatus)
Function: InitializeLoopHasWord(IntoTheCode.Read.Structure.RuleLink,System.Collections.Generic.List{IntoTheCode.Read.Structure.RuleLink},System.Boolean@)
(Namespace: IntoTheCode.Read.Structure)
Inherits IntoTheCode.Read.Structure.Or
Expressions read strings like this 'a + b * - c * ( 2 + d )' (Infix notation). The expression rule must look like this "expr = mul | sum | value". Or like this (inline) : "expr = expr '' expr | value;". It is a list of alternatives. The first alternative must be a binary operator. At least one alternative must be something else; not recursive. The binary operator rules must have this form: "sum = expr '+' expr". Where '+' is the operator. The default precedence are determined by the order of the operators in the expression rule. First operator has highest precedence. The operator precedence can be changed by setting the 'precedence' property. Operators are default left associative. If an operator is right associative set the 'RightAssociative' property. Output: The output tree is nested operator elements; An operator has to values elements. A value elements can be a new operator element or one of the other alternatives.*
Constructor(IntoTheCode.Read.Structure.Rule,IntoTheCode.Read.Structure.Or)
Create the Expression from the alternatives in an Or object.
Function: SetPrecedence()
Set precedence for binary operators. Operators with precendence set are ordered by this. Operators without precedence are ordered according to the position in syntax.
Function: GetSettings(System.Collections.Generic.List{System.Tuple{System.String,System.String}})
Function: LoadValue(System.Collections.Generic.List{IntoTheCode.TextElement},System.Int32,System.Boolean)
Function: LoadBinaryOperator(System.Collections.Generic.List{IntoTheCode.TextElement},System.Int32)
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
Returns: 0: Not found, 1: Found-read error, 2: Found and read ok. Function: ResolveErrorsForwardValue(System.Int32,System.Boolean)
Parameter operations: The value is added to this list.
Function: ResolveErrorsForwardBinaryOperator(System.Int32)
(Namespace: IntoTheCode.Read.Structure)
Inherits IntoTheCode.Read.Structure.SetOfElementsBase
Constructor(IntoTheCode.Read.ParserElementBase[])
Creator for .
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Structure)
Inherits IntoTheCode.Read.ParserElementBase
Constructor(IntoTheCode.Read.ParserElementBase,IntoTheCode.Read.ParserElementBase)
Creator for .
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Structure)
Inherits IntoTheCode.Read.Structure.SetOfElements
Constructor(IntoTheCode.Read.ParserElementBase[])
Creator for .
(Namespace: IntoTheCode.Read.Structure)
Inherits IntoTheCode.Read.Structure.SetOfElementsBase
Constructor(System.String,IntoTheCode.Read.ParserElementBase[])
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Structure)
Inherits IntoTheCode.Read.ParserElementBase
Base class for Grammar symbols.
Constructor(System.String)
Creator for .
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Structure)
Inherits IntoTheCode.Read.Structure.SetOfElementsBase
Constructor(IntoTheCode.Read.ParserElementBase[])
Creator for .
Constructor()
To create an unlinked Grammar.
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Structure)
Inherits IntoTheCode.Read.Structure.SetOfElementsBase
Constructor(IntoTheCode.Read.ParserElementBase[])
Creator for .
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Structure)
Inherits IntoTheCode.Read.ParserElementBase
Constructor()
To create unlinked Grammar.
Function: ResolveSetErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Words)
Inherits IntoTheCode.Read.ParserElementBase
A Grammar element that can read charecters (a word).
Function: GetWord(IntoTheCode.Buffer.TextSubString)
(Namespace: IntoTheCode.Read.Words)
Inherits IntoTheCode.Read.Words.WordSymbol
Constructor(IntoTheCode.Read.Words.WordSymbol,System.String,IntoTheCode.Buffer.TextBuffer)
Creator for .
(Namespace: IntoTheCode.Read.Words)
Inherits IntoTheCode.Read.Words.WordBase
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Words)
Inherits IntoTheCode.Read.Words.WordBase
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Words)
Inherits IntoTheCode.Read.Words.WordBase
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Words)
Inherits IntoTheCode.Read.Words.WordBase
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Words)
Inherits IntoTheCode.Read.Words.WordBase
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode.Read.Words)
Inherits IntoTheCode.Read.Words.WordBase
Property: Precedence
Only if this symbol is transformed to an binary operator.
Property: RightAssociative
Only if this symbol is transformed to an binary operator.
Function: SetProperty(IntoTheCode.CodeElement,System.String,IntoTheCode.Read.ParserStatus)
Function: ResolveErrorsLast(IntoTheCode.CodeElement,System.Int32)
(Namespace: IntoTheCode)
Inherits
The Elements that build up a TextDokument.
Function: Codes()
Function: Codes(System.String)
Function: Codes(System.Func{IntoTheCode.CodeElement,System.Boolean})