public Sequence(IReadOnlyList <SequenceStep> steps, InterfaceMethod interfaceMethod) { this.Steps = steps; this.InterfaceMethod = interfaceMethod; }
public LexemeIdentifier(String id, InterfaceMethod interfaceMethod) { this.Identifier = id; this.InterfaceMethod = interfaceMethod; }
public ReferencedRule(String identifier, INodeType ruleNodeType, InterfaceMethod interfaceMethod) { this.Identifier = identifier; this.RuleNodeType = ruleNodeType ?? new SingleNodeType("UNRESOLVED_RULE"); this.InterfaceMethod = interfaceMethod; }
public Series(IParseFunction repeatedToken, IParseFunction delimiterToken, InterfaceMethod interfaceMethod) { this.RepeatedToken = repeatedToken; this.DelimiterToken = delimiterToken; this.InterfaceMethod = interfaceMethod; }
public Repetition(IParseFunction innerParseFunction, Cardinality cardinality, InterfaceMethod interfaceMethod) { this.InnerParseFunction = innerParseFunction; this.Cardinality = cardinality; this.InterfaceMethod = interfaceMethod; }
public LiteralString(String text, InterfaceMethod interfaceMethod, StringComparison stringComparison) { this.Text = text; this.InterfaceMethod = interfaceMethod; this.StringComparison = stringComparison; }
public SelectionStep(IParseFunction parseFunction, InterfaceMethod interfaceMethod) { this.Function = parseFunction; this.InterfaceMethod = interfaceMethod; }
public static ParsnipModel AddingInterfaceMethod(this ParsnipModel model, InterfaceMethod method) => new ParsnipModel(model.Rules, model.InterfaceMethods.Appending(method), model.LexemeIdentifiers);
public Intrinsic(IntrinsicType type, InterfaceMethod interfaceMethod) { this.Type = type; this.InterfaceMethod = interfaceMethod; }