Skip to content

GH_Lexer

Public Class

Represents a lexical mask for path operations.

Inheritance Hierarchy

System.Object
Grasshopper.Kernel.Data.GH_Lexer

Namespace: Grasshopper.Kernel.Data

Assembly: Grasshopper (in Grasshopper.dll)

Syntax

public class GH_Lexer

The GH_Lexer type exposes the following members.

Constructors

Name

Description


Public Method

Blank constructor.


Public Method

Create a new mask from a textual string.


Properties

Name

Description


Public Property

Gets a value indicating whether or not the item portion of the lexer has been set.


Public Property

Gets a value indicating whether or not the path portion of the lexer has been set.


Public Property

Gets the item string that was extracted from the mask. The default is “append”


Public Property

Gets the original string that represents the user input for this lexer.


Public Property

Gets the list of path strings that was extracted from the mask. If the mask hasn’t been parsed yet, it will be parsed now. If the returned list is still nothing, parsing failed.


Methods

Name

Description


Public Method

Evaluate the variables in this mask with the provided expression solver.


Public Method
Static Member

Lexical Find..Replace operations.


Public Method
Static Member

Lexical Find..Replace operations.