Table of Contents

Class ChildSyntaxExtensions

Namespace
NMF.Glsp.Language
Assembly
NMF.Glsp.dll

Provides convenience methods for IChildSyntax<TSyntax>

public static class ChildSyntaxExtensions
Inheritance
ChildSyntaxExtensions
Inherited Members

Methods

HideInPalette<TSyntax>(IChildSyntax<TSyntax>)

Defines that the option should not be visible in the palette

public static TSyntax HideInPalette<TSyntax>(this IChildSyntax<TSyntax> syntax)

Parameters

syntax IChildSyntax<TSyntax>

The syntax

Returns

TSyntax

A child syntax instance for chaining purposes

Type Parameters

TSyntax

HideIn<TSyntax>(IChildSyntax<TSyntax>, string)

Defines that the option should not be visible in the given context id

public static TSyntax HideIn<TSyntax>(this IChildSyntax<TSyntax> syntax, string contextId)

Parameters

syntax IChildSyntax<TSyntax>

The syntax

contextId string

The id of the context for which the option should be hidden

Returns

TSyntax

A child syntax instance for chaining purposes

Type Parameters

TSyntax