antlr4512

package module
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 10 Imported by: 2

README

go-antlr4512

ANTLR4 RFC4512 Reference License Issues Experimental

Package antlr4512 implements Section 2.5 and Section 4 of RFC 4512 by way of an unmodified ANTLR4-generated target.

ANTLR

See the _grammar/RFC4512.g4 file within this repository for ANTLR grammar. Using this file, the target was auto-generated using the following antlr4 command:

$ antlr4 -no-listener -Dlanguage=Go -package antlr4512 RFC4512.g4

For details on ANTLR, click the above ANTLR badge. This page was generated using antlr4-go version 4.13.1.

If alterations are desired -- such as the introduction of bonafide listeners or visitors -- modify the above grammar file and/or regenerate code as needed. Remember it is NOT recommended for auto-generated code to be modified in any way. Code enhancements, convenience wrappers and other extensions devised by the adopter(s) should ONLY be made in separate files sharing the same package namespace.

Features

  • Compliant
    • RFC 4512 syntax implementation honors relevant Augmented Backus-Naur Form (ABNF) productions
  • Compatible
    • 389DS and OpenLDAP style schema formats fully supported, and OpenDJ with minor adjustments to the input file
    • Auto-resolving OpenLDAP objectidentifier macro support
    • Unresolvable macros accepted silently, allowing user remediation during the post-parsing stage
  • Flexible -- all of the following are supported:
    • Variable description labels
    • Newline and hanging indents
    • Line-terminating Bash comments
    • Optional clause ordering
  • Convenient
    • File and directory parsing functions
      • ParseFile
      • ParseDirectory
    • Helper functions for those with minimal ANTLR experience:
      • ParseLDAPSyntax
      • ParseMatchingRule
      • ParseMatchingRuleUse
      • ParseAttributeType
      • ParseObjectClass
      • ParseDITContentRule
      • ParseNameForm
      • ParseDITStructureRule
    • Extra methods
      • Schema.UpdateMatchingRuleUses, for simple auto-generation of matchingRuleUse instances
  • Simple, easily understood type instances
    • Struct field values are confined to primitive and basic map instances
    • No unnecessary pointers, no embedding, no private fields, no type assertion
    • Just parse your instance and go nuts
    • Great for templating and external processing

Cyclomatics Notice

Please note that due to the complexity and flexibility of the grammar design (and some questionable antlr4-go design decisions) the ANTLR-generated codebase for the RFC 4512 grammar has some pretty high cyclomatic factors, with the highest factor at just above 100.

The upside of this is that a schema instance is usually only spawned once per runtime, and not in rapid succession through multiple threads. A schema is a source of truth, and conceptually it should be a singular entity in a process, model or state machine.

Thus the performance of this package -- while still adequately fast -- was really the lowest priority in terms of design goals.

Ordering of Fields

In addition to this package's extreme flexibility in terms of newlines and whitespace indenting, this package also allows flexibility in terms of field ordering within a given definition. This only applies to contiguous sequences of optional fields, such as NAME, DESC and others.

For example, consider the following nameForm instance derived from Section 2.7.1 of draft-coretta-oiddir-schema:

 nameForm ( 1.3.6.1.4.1.56521.101.2.7.1
	NAME 'nRootArcForm'
	DESC 'root arc name form for a number form RDN'
	OC rootArc
	MUST n )

Observe the NameFormDescription ABNF production per Section 4.1.7.2 of RFC 4512:

 NameFormDescription = LPAREN WSP
	numericoid                 ; object identifier
	[ SP "NAME" SP qdescrs ]   ; short names (descriptors)
	[ SP "DESC" SP qdstring ]  ; description
	[ SP "OBSOLETE" ]          ; not active
	SP "OC" SP oid             ; structural object class
	SP "MUST" SP oids          ; attribute types
	[ SP "MAY" SP oids ]       ; attribute types
	extensions WSP RPAREN      ; extensions

Both OC and MUST are required clauses, while NAME and DESC are optional (as denoted by the encapsulating square brackets). If defined, these optional fields can be reversed order-wise (e.g.: DESC before NAME), but their placement must always precede the subsequent required OC and MUST clauses as defined in the above RFC 4512 excerpt.

This rule applies to any other definition type that contains a mixture of optional and required clauses, but is moot if said optional fields were not specified at all. Required fields themselves CANNOT be ordered in any manner other than that specified within the above NameFormDescription ABNF production, et al.

In general, it is always strongly advised to honor the ordering of fields as specified in RFC 4512. This flexibility is primarily intended for parsing definitions within RFCs that have long since been accepted despite being technically poorly formed.

Macro Support

The OpenLDAP objectidentifier parameter is supported during the parsing of schema files and directories only. This allows succinct aliases -- called macros -- to be used in place of cumbersome and error-prone numeric OIDs alone.

For instance, the RFC 2307 alias macro nisSchema can be declared as follows in the relevant schema files:

objectidentifier nisSchema 1.3.6.1.1.1

When used within an attributeType in place of the numeric OID:

   ( nisSchema.1.2
      NAME 'gecos'
      DESC 'The GECOS field; the common name'
      EQUALITY caseIgnoreIA5Match
      SUBSTRINGS caseIgnoreIA5SubstringsMatch
      SYNTAX 'IA5String'
      SINGLE-VALUE )

... the macro properly resolves as follows:

   ( 1.3.6.1.1.1.1.2
      NAME 'gecos'
      DESC 'The GECOS field; the common name'
      EQUALITY caseIgnoreIA5Match
      SUBSTRINGS caseIgnoreIA5SubstringsMatch
      SYNTAX 'IA5String'
      SINGLE-VALUE )

When using objectidentifier macros, a reference to a macro must only be made after the needed macro has been properly defined. Failure to follow this requirement will result in botched OID resolutions during the parsing process and the return of some very unhelpful error messages.

Note that objectidentifier macros can only be used for the following definition types:

  • attributeType
  • objectClass
  • nameForm
  • dITContentRule

objectidentifier macros also support nesting. These are normally referred to as nested or sub macros. For example, one could establish a nisAttrs sub macro like so:

objectidentifier nisAttrs nisSchema:1

... which implies the ultimately resolved numeric OID of "1.3.6.1.1.1.1", which is also known by the macro name "nisAttrs".

Use of nesting requires dependency macros are defined prior to being referenced by other subordinate macros.

If using macros as shown in RFC 2307 for definitions such as ldapSyntax or matchingRule, OR if using macros in "piecemeal" definitions -- in other words, definitions NOT parsed from a file or directory -- macros are NOT auto-resolvable. Rather, the definition will be released without an error but lacking a literal OID. Instead, the definition will bear a Macro field value which the user may resolve (or not) using their own means after-the-fact. In this scenario, users may simply edit the returned instances directly to set an OID manually, or alternatively just transfer the non-zero contents elsewhere for further handling.

Regardless of the form of macro OID resolution used, users may specify either a dot (".") or colon (":") for the macro name/oid delimiter. In other words, either nisSchema:0 or nisSchema.0 would be acceptable, syntactically speaking.

Minimal Verification

The parser provided by this package is only capable of the most basic verification checks. For example, beyond the basic required contexts of RFC 4512 Section 4 -- such as a nameForm's OC and MUST fields -- this package does not perform any in-depth analysis upon the respective values.

The intent of this package is mainly focused on easy tokenization. Very few checks are performed upon individual tokens. To offer some examples, this means:

  • No validity of matchingRule combinations found within attributeType definitions is confirmed
  • An OID erroneously shared by multiple definitions is not mitigated and will not raise an error
  • References to dependent definitions (e.g.: name and cn) are not verified presence-wise
  • Bogus OIDs will be produced when bogus macros are used; macros themselves are unverified

The only restrictions imposed during the parsing process come from ANTLR itself; for instance, missing, unexpected or invalid token contents. Token placement and content is defined based upon a reasonable implementation of RFC 4512. Beyond this, all bets are off.

If it is desirable to enhance the capabilities of a parser solution, the user is advised to consider manual implementation of the necessary checks and balances, or use an external solution such as go-schemax.

No built-in definitions

This package does not make any "schema library" available for end-user consumption. This package is a tokenizing parser, and expects users to provide the very definitions needing to be parsed in textual form, such as from an RFC or ID.

Users interested in a more comprehensive "schema suite" should take a look at go-schemax, which offers an extensive manifest of official schema definitions in addition to the features of this package.

File and Definition Parsing Order

Although this package does not perform in-depth verification on individual references, it is important that files -- and more importantly, their contents -- are parsed in a manner that honors reference dependencies, such as those used for super types, super classes and super rules.

The reason for this is that parsed definitions are stored in the order in which they were originally parsed within the slice-based fields of a Schema definition. Introduction of bad ordering schemes will almost certainly result in errors.

Therefore users are strongly advised to verify and ensure the proper ordering of all of the following:

  • ".schema" files
  • Definitions within ".schema" files

In either context, the ordering scheme must always favor fundamental elements prior to any and all definitions which reference such elements.

Additionally, only files ending in ".schema" will be parsed. This allows directory structures which contains other files, such as README.MDs, to remain in place without interfering with a large scale directory structure parsing operation.

Directory names are not significant and are traversed whenever encountered during a directory structure parsing operation.

A note on OpenDJ

OpenDJ's schema format, which you can see within its config/schema directory on any typical install, is vaguely similar to 389DS in that a schema DN is used in the header of the file (cn=schema). But OpenDJ also requires objectClass directives in schema files:

objectClass: top
objectClass: ldapSubentry
objectClass: subschema

These objectClass directives MUST be removed (or commented-out) when used as input for parsing with this package, or its sister package go-schemax. ANTLR will not match objectClass correctly in this fashion, as this grammar keyword is special in that:

  • objectClass (and objectClasses) are actually defined (and fundamental) RFC 4512 attribute types, and ...
  • objectClass is a distinct schema definition type

Due to these two conditions, it was not possible to implement a third condition which allowed use of this keyword in the header as OpenDJ requires without introducing ambiguity into the grammar. Attempts to do so resulted in ANTLR matching unit tests failing en masse due to grammar conflicts.

The error that is likely to appear is a sort of fall-back error for fundamental issues is as follows:

nil or unbalanced parenthetical context, or bogus definition

TLDR: Remove or comment-out the above objectClass values from any OpenDJ schema file(s) you intend to parse.

Documentation

Index

Examples

Constants

View Source
const (
	RFC4512LexerT__0              = 1
	RFC4512LexerT__1              = 2
	RFC4512LexerT__2              = 3
	RFC4512LexerT__3              = 4
	RFC4512LexerT__4              = 5
	RFC4512LexerT__5              = 6
	RFC4512LexerT__6              = 7
	RFC4512LexerT__7              = 8
	RFC4512LexerT__8              = 9
	RFC4512LexerT__9              = 10
	RFC4512LexerT__10             = 11
	RFC4512LexerT__11             = 12
	RFC4512LexerT__12             = 13
	RFC4512LexerT__13             = 14
	RFC4512LexerT__14             = 15
	RFC4512LexerT__15             = 16
	RFC4512LexerT__16             = 17
	RFC4512LexerT__17             = 18
	RFC4512LexerT__18             = 19
	RFC4512LexerT__19             = 20
	RFC4512LexerT__20             = 21
	RFC4512LexerT__21             = 22
	RFC4512LexerT__22             = 23
	RFC4512LexerT__23             = 24
	RFC4512LexerT__24             = 25
	RFC4512LexerT__25             = 26
	RFC4512LexerT__26             = 27
	RFC4512LexerT__27             = 28
	RFC4512LexerT__28             = 29
	RFC4512LexerT__29             = 30
	RFC4512LexerT__30             = 31
	RFC4512LexerT__31             = 32
	RFC4512LexerOpenParenthesis   = 33
	RFC4512LexerCloseParenthesis  = 34
	RFC4512LexerODelim            = 35
	RFC4512LexerMacroSuffix       = 36
	RFC4512LexerNumOID            = 37
	RFC4512LexerXString           = 38
	RFC4512LexerDistinguishedName = 39
	RFC4512LexerQDescr            = 40
	RFC4512LexerQString           = 41
	RFC4512LexerMUB               = 42
	RFC4512LexerDigit             = 43
	RFC4512LexerNFLabel           = 44
	RFC4512LexerOCLabel           = 45
	RFC4512LexerATLabel           = 46
	RFC4512LexerLSLabel           = 47
	RFC4512LexerMRLabel           = 48
	RFC4512LexerMULabel           = 49
	RFC4512LexerDSLabel           = 50
	RFC4512LexerDCLabel           = 51
	RFC4512LexerDescr             = 52
	RFC4512LexerSP                = 53
	RFC4512LexerNEWLINE           = 54
	RFC4512LexerLineComment       = 55
)

RFC4512Lexer tokens.

View Source
const (
	RFC4512ParserEOF               = antlr.TokenEOF
	RFC4512ParserT__0              = 1
	RFC4512ParserT__1              = 2
	RFC4512ParserT__2              = 3
	RFC4512ParserT__3              = 4
	RFC4512ParserT__4              = 5
	RFC4512ParserT__5              = 6
	RFC4512ParserT__6              = 7
	RFC4512ParserT__7              = 8
	RFC4512ParserT__8              = 9
	RFC4512ParserT__9              = 10
	RFC4512ParserT__10             = 11
	RFC4512ParserT__11             = 12
	RFC4512ParserT__12             = 13
	RFC4512ParserT__13             = 14
	RFC4512ParserT__14             = 15
	RFC4512ParserT__15             = 16
	RFC4512ParserT__16             = 17
	RFC4512ParserT__17             = 18
	RFC4512ParserT__18             = 19
	RFC4512ParserT__19             = 20
	RFC4512ParserT__20             = 21
	RFC4512ParserT__21             = 22
	RFC4512ParserT__22             = 23
	RFC4512ParserT__23             = 24
	RFC4512ParserT__24             = 25
	RFC4512ParserT__25             = 26
	RFC4512ParserT__26             = 27
	RFC4512ParserT__27             = 28
	RFC4512ParserT__28             = 29
	RFC4512ParserT__29             = 30
	RFC4512ParserT__30             = 31
	RFC4512ParserT__31             = 32
	RFC4512ParserOpenParenthesis   = 33
	RFC4512ParserCloseParenthesis  = 34
	RFC4512ParserODelim            = 35
	RFC4512ParserMacroSuffix       = 36
	RFC4512ParserNumOID            = 37
	RFC4512ParserXString           = 38
	RFC4512ParserDistinguishedName = 39
	RFC4512ParserQDescr            = 40
	RFC4512ParserQString           = 41
	RFC4512ParserMUB               = 42
	RFC4512ParserDigit             = 43
	RFC4512ParserNFLabel           = 44
	RFC4512ParserOCLabel           = 45
	RFC4512ParserATLabel           = 46
	RFC4512ParserLSLabel           = 47
	RFC4512ParserMRLabel           = 48
	RFC4512ParserMULabel           = 49
	RFC4512ParserDSLabel           = 50
	RFC4512ParserDCLabel           = 51
	RFC4512ParserDescr             = 52
	RFC4512ParserSP                = 53
	RFC4512ParserNEWLINE           = 54
	RFC4512ParserLineComment       = 55
)

RFC4512Parser tokens.

View Source
const (
	RFC4512ParserRULE_fileparse                    = 0
	RFC4512ParserRULE_definitions                  = 1
	RFC4512ParserRULE_objectClassDescriptions      = 2
	RFC4512ParserRULE_attributeTypeDescriptions    = 3
	RFC4512ParserRULE_matchingRuleDescriptions     = 4
	RFC4512ParserRULE_matchingRuleUseDescriptions  = 5
	RFC4512ParserRULE_lDAPSyntaxDescriptions       = 6
	RFC4512ParserRULE_dITStructureRuleDescriptions = 7
	RFC4512ParserRULE_nameFormDescriptions         = 8
	RFC4512ParserRULE_dITContentRuleDescriptions   = 9
	RFC4512ParserRULE_objectIdentifier             = 10
	RFC4512ParserRULE_objectClassLabel             = 11
	RFC4512ParserRULE_matchingRuleLabel            = 12
	RFC4512ParserRULE_matchingRuleUseLabel         = 13
	RFC4512ParserRULE_lDAPSyntaxLabel              = 14
	RFC4512ParserRULE_dITContentRuleLabel          = 15
	RFC4512ParserRULE_dITStructureRuleLabel        = 16
	RFC4512ParserRULE_attributeTypeLabel           = 17
	RFC4512ParserRULE_nameFormLabel                = 18
	RFC4512ParserRULE_definitionLabelDelim         = 19
	RFC4512ParserRULE_kind                         = 20
	RFC4512ParserRULE_abstractKind                 = 21
	RFC4512ParserRULE_structuralKind               = 22
	RFC4512ParserRULE_auxiliaryKind                = 23
	RFC4512ParserRULE_applies                      = 24
	RFC4512ParserRULE_must                         = 25
	RFC4512ParserRULE_aux                          = 26
	RFC4512ParserRULE_may                          = 27
	RFC4512ParserRULE_not                          = 28
	RFC4512ParserRULE_form                         = 29
	RFC4512ParserRULE_ordering                     = 30
	RFC4512ParserRULE_equality                     = 31
	RFC4512ParserRULE_structuralClass              = 32
	RFC4512ParserRULE_superType                    = 33
	RFC4512ParserRULE_superClasses                 = 34
	RFC4512ParserRULE_superRules                   = 35
	RFC4512ParserRULE_substr                       = 36
	RFC4512ParserRULE_name                         = 37
	RFC4512ParserRULE_usage                        = 38
	RFC4512ParserRULE_description                  = 39
	RFC4512ParserRULE_syntax                       = 40
	RFC4512ParserRULE_singleValue                  = 41
	RFC4512ParserRULE_immutability                 = 42
	RFC4512ParserRULE_collective                   = 43
	RFC4512ParserRULE_obsolescence                 = 44
	RFC4512ParserRULE_minUpperBounds               = 45
	RFC4512ParserRULE_structureRule                = 46
	RFC4512ParserRULE_usages                       = 47
	RFC4512ParserRULE_quotedDescriptor             = 48
	RFC4512ParserRULE_quotedString                 = 49
	RFC4512ParserRULE_schemaDN                     = 50
	RFC4512ParserRULE_objectIdentifierOIDOrName    = 51
	RFC4512ParserRULE_attributeDescription         = 52
	RFC4512ParserRULE_openParen                    = 53
	RFC4512ParserRULE_closeParen                   = 54
	RFC4512ParserRULE_numericOIDOrMacro            = 55
	RFC4512ParserRULE_macro                        = 56
	RFC4512ParserRULE_numericOID                   = 57
	RFC4512ParserRULE_macroSuffix                  = 58
	RFC4512ParserRULE_number                       = 59
	RFC4512ParserRULE_attrOptions                  = 60
	RFC4512ParserRULE_userApplications             = 61
	RFC4512ParserRULE_directoryOperation           = 62
	RFC4512ParserRULE_distributedOperation         = 63
	RFC4512ParserRULE_dSAOperation                 = 64
	RFC4512ParserRULE_structureRules               = 65
	RFC4512ParserRULE_oID                          = 66
	RFC4512ParserRULE_oIDs                         = 67
	RFC4512ParserRULE_extensionValue               = 68
	RFC4512ParserRULE_extensions                   = 69
	RFC4512ParserRULE_extension                    = 70
	RFC4512ParserRULE_names                        = 71
	RFC4512ParserRULE_descriptor                   = 72
	RFC4512ParserRULE_objectClassDescription       = 73
	RFC4512ParserRULE_attributeTypeDescription     = 74
	RFC4512ParserRULE_matchingRuleDescription      = 75
	RFC4512ParserRULE_matchingRuleUseDescription   = 76
	RFC4512ParserRULE_lDAPSyntaxDescription        = 77
	RFC4512ParserRULE_dITContentRuleDescription    = 78
	RFC4512ParserRULE_dITStructureRuleDescription  = 79
	RFC4512ParserRULE_nameFormDescription          = 80
)

RFC4512Parser rules.

Variables

View Source
var RFC4512LexerLexerStaticData struct {
	ChannelNames           []string
	ModeNames              []string
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}
View Source
var RFC4512ParserStaticData struct {
	LiteralNames           []string
	SymbolicNames          []string
	RuleNames              []string
	PredictionContextCache *antlr.PredictionContextCache
	// contains filtered or unexported fields
}

Functions

func InitEmptyAbstractKindContext

func InitEmptyAbstractKindContext(p *AbstractKindContext)

func InitEmptyAppliesContext

func InitEmptyAppliesContext(p *AppliesContext)

func InitEmptyAttrOptionsContext

func InitEmptyAttrOptionsContext(p *AttrOptionsContext)

func InitEmptyAttributeDescriptionContext

func InitEmptyAttributeDescriptionContext(p *AttributeDescriptionContext)

func InitEmptyAttributeTypeDescriptionContext

func InitEmptyAttributeTypeDescriptionContext(p *AttributeTypeDescriptionContext)

func InitEmptyAttributeTypeDescriptionsContext

func InitEmptyAttributeTypeDescriptionsContext(p *AttributeTypeDescriptionsContext)

func InitEmptyAttributeTypeLabelContext

func InitEmptyAttributeTypeLabelContext(p *AttributeTypeLabelContext)

func InitEmptyAuxContext

func InitEmptyAuxContext(p *AuxContext)

func InitEmptyAuxiliaryKindContext

func InitEmptyAuxiliaryKindContext(p *AuxiliaryKindContext)

func InitEmptyCloseParenContext

func InitEmptyCloseParenContext(p *CloseParenContext)

func InitEmptyCollectiveContext

func InitEmptyCollectiveContext(p *CollectiveContext)

func InitEmptyDITContentRuleDescriptionContext

func InitEmptyDITContentRuleDescriptionContext(p *DITContentRuleDescriptionContext)

func InitEmptyDITContentRuleDescriptionsContext

func InitEmptyDITContentRuleDescriptionsContext(p *DITContentRuleDescriptionsContext)

func InitEmptyDITContentRuleLabelContext

func InitEmptyDITContentRuleLabelContext(p *DITContentRuleLabelContext)

func InitEmptyDITStructureRuleDescriptionContext

func InitEmptyDITStructureRuleDescriptionContext(p *DITStructureRuleDescriptionContext)

func InitEmptyDITStructureRuleDescriptionsContext

func InitEmptyDITStructureRuleDescriptionsContext(p *DITStructureRuleDescriptionsContext)

func InitEmptyDITStructureRuleLabelContext

func InitEmptyDITStructureRuleLabelContext(p *DITStructureRuleLabelContext)

func InitEmptyDSAOperationContext

func InitEmptyDSAOperationContext(p *DSAOperationContext)

func InitEmptyDefinitionLabelDelimContext

func InitEmptyDefinitionLabelDelimContext(p *DefinitionLabelDelimContext)

func InitEmptyDefinitionsContext

func InitEmptyDefinitionsContext(p *DefinitionsContext)

func InitEmptyDescriptionContext

func InitEmptyDescriptionContext(p *DescriptionContext)

func InitEmptyDescriptorContext

func InitEmptyDescriptorContext(p *DescriptorContext)

func InitEmptyDirectoryOperationContext

func InitEmptyDirectoryOperationContext(p *DirectoryOperationContext)

func InitEmptyDistributedOperationContext

func InitEmptyDistributedOperationContext(p *DistributedOperationContext)

func InitEmptyEqualityContext

func InitEmptyEqualityContext(p *EqualityContext)

func InitEmptyExtensionContext

func InitEmptyExtensionContext(p *ExtensionContext)

func InitEmptyExtensionValueContext

func InitEmptyExtensionValueContext(p *ExtensionValueContext)

func InitEmptyExtensionsContext

func InitEmptyExtensionsContext(p *ExtensionsContext)

func InitEmptyFileparseContext

func InitEmptyFileparseContext(p *FileparseContext)

func InitEmptyFormContext

func InitEmptyFormContext(p *FormContext)

func InitEmptyImmutabilityContext

func InitEmptyImmutabilityContext(p *ImmutabilityContext)

func InitEmptyKindContext

func InitEmptyKindContext(p *KindContext)

func InitEmptyLDAPSyntaxDescriptionContext

func InitEmptyLDAPSyntaxDescriptionContext(p *LDAPSyntaxDescriptionContext)

func InitEmptyLDAPSyntaxDescriptionsContext

func InitEmptyLDAPSyntaxDescriptionsContext(p *LDAPSyntaxDescriptionsContext)

func InitEmptyLDAPSyntaxLabelContext

func InitEmptyLDAPSyntaxLabelContext(p *LDAPSyntaxLabelContext)

func InitEmptyMacroContext

func InitEmptyMacroContext(p *MacroContext)

func InitEmptyMacroSuffixContext

func InitEmptyMacroSuffixContext(p *MacroSuffixContext)

func InitEmptyMatchingRuleDescriptionContext

func InitEmptyMatchingRuleDescriptionContext(p *MatchingRuleDescriptionContext)

func InitEmptyMatchingRuleDescriptionsContext

func InitEmptyMatchingRuleDescriptionsContext(p *MatchingRuleDescriptionsContext)

func InitEmptyMatchingRuleLabelContext

func InitEmptyMatchingRuleLabelContext(p *MatchingRuleLabelContext)

func InitEmptyMatchingRuleUseDescriptionContext

func InitEmptyMatchingRuleUseDescriptionContext(p *MatchingRuleUseDescriptionContext)

func InitEmptyMatchingRuleUseDescriptionsContext

func InitEmptyMatchingRuleUseDescriptionsContext(p *MatchingRuleUseDescriptionsContext)

func InitEmptyMatchingRuleUseLabelContext

func InitEmptyMatchingRuleUseLabelContext(p *MatchingRuleUseLabelContext)

func InitEmptyMayContext

func InitEmptyMayContext(p *MayContext)

func InitEmptyMinUpperBoundsContext

func InitEmptyMinUpperBoundsContext(p *MinUpperBoundsContext)

func InitEmptyMustContext

func InitEmptyMustContext(p *MustContext)

func InitEmptyNameContext

func InitEmptyNameContext(p *NameContext)

func InitEmptyNameFormDescriptionContext

func InitEmptyNameFormDescriptionContext(p *NameFormDescriptionContext)

func InitEmptyNameFormDescriptionsContext

func InitEmptyNameFormDescriptionsContext(p *NameFormDescriptionsContext)

func InitEmptyNameFormLabelContext

func InitEmptyNameFormLabelContext(p *NameFormLabelContext)

func InitEmptyNamesContext

func InitEmptyNamesContext(p *NamesContext)

func InitEmptyNotContext

func InitEmptyNotContext(p *NotContext)

func InitEmptyNumberContext

func InitEmptyNumberContext(p *NumberContext)

func InitEmptyNumericOIDContext

func InitEmptyNumericOIDContext(p *NumericOIDContext)

func InitEmptyNumericOIDOrMacroContext

func InitEmptyNumericOIDOrMacroContext(p *NumericOIDOrMacroContext)

func InitEmptyOIDContext

func InitEmptyOIDContext(p *OIDContext)

func InitEmptyOIDsContext

func InitEmptyOIDsContext(p *OIDsContext)

func InitEmptyObjectClassDescriptionContext

func InitEmptyObjectClassDescriptionContext(p *ObjectClassDescriptionContext)

func InitEmptyObjectClassDescriptionsContext

func InitEmptyObjectClassDescriptionsContext(p *ObjectClassDescriptionsContext)

func InitEmptyObjectClassLabelContext

func InitEmptyObjectClassLabelContext(p *ObjectClassLabelContext)

func InitEmptyObjectIdentifierContext

func InitEmptyObjectIdentifierContext(p *ObjectIdentifierContext)

func InitEmptyObjectIdentifierOIDOrNameContext

func InitEmptyObjectIdentifierOIDOrNameContext(p *ObjectIdentifierOIDOrNameContext)

func InitEmptyObsolescenceContext

func InitEmptyObsolescenceContext(p *ObsolescenceContext)

func InitEmptyOpenParenContext

func InitEmptyOpenParenContext(p *OpenParenContext)

func InitEmptyOrderingContext

func InitEmptyOrderingContext(p *OrderingContext)

func InitEmptyQuotedDescriptorContext

func InitEmptyQuotedDescriptorContext(p *QuotedDescriptorContext)

func InitEmptyQuotedStringContext

func InitEmptyQuotedStringContext(p *QuotedStringContext)

func InitEmptySchemaDNContext

func InitEmptySchemaDNContext(p *SchemaDNContext)

func InitEmptySingleValueContext

func InitEmptySingleValueContext(p *SingleValueContext)

func InitEmptyStructuralClassContext

func InitEmptyStructuralClassContext(p *StructuralClassContext)

func InitEmptyStructuralKindContext

func InitEmptyStructuralKindContext(p *StructuralKindContext)

func InitEmptyStructureRuleContext

func InitEmptyStructureRuleContext(p *StructureRuleContext)

func InitEmptyStructureRulesContext

func InitEmptyStructureRulesContext(p *StructureRulesContext)

func InitEmptySubstrContext

func InitEmptySubstrContext(p *SubstrContext)

func InitEmptySuperClassesContext

func InitEmptySuperClassesContext(p *SuperClassesContext)

func InitEmptySuperRulesContext

func InitEmptySuperRulesContext(p *SuperRulesContext)

func InitEmptySuperTypeContext

func InitEmptySuperTypeContext(p *SuperTypeContext)

func InitEmptySyntaxContext

func InitEmptySyntaxContext(p *SyntaxContext)

func InitEmptyUsageContext

func InitEmptyUsageContext(p *UsageContext)

func InitEmptyUsagesContext

func InitEmptyUsagesContext(p *UsagesContext)

func InitEmptyUserApplicationsContext added in v1.0.1

func InitEmptyUserApplicationsContext(p *UserApplicationsContext)

func RFC4512LexerInit

func RFC4512LexerInit()

RFC4512LexerInit initializes any static state used to implement RFC4512Lexer. By default the static state used to implement the lexer is lazily initialized during the first call to NewRFC4512Lexer(). You can call this function if you wish to initialize the static state ahead of time.

func RFC4512ParserInit

func RFC4512ParserInit()

RFC4512ParserInit initializes any static state used to implement RFC4512Parser. By default the static state used to implement the parser is lazily initialized during the first call to NewRFC4512Parser(). You can call this function if you wish to initialize the static state ahead of time.

Types

type AbstractKindContext

type AbstractKindContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAbstractKindContext

func NewAbstractKindContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AbstractKindContext

func NewEmptyAbstractKindContext

func NewEmptyAbstractKindContext() *AbstractKindContext

func (*AbstractKindContext) GetParser

func (s *AbstractKindContext) GetParser() antlr.Parser

func (*AbstractKindContext) GetRuleContext

func (s *AbstractKindContext) GetRuleContext() antlr.RuleContext

func (*AbstractKindContext) IsAbstractKindContext

func (*AbstractKindContext) IsAbstractKindContext()

func (*AbstractKindContext) ToStringTree

func (s *AbstractKindContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AppliesContext

type AppliesContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAppliesContext

func NewAppliesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AppliesContext

func NewEmptyAppliesContext

func NewEmptyAppliesContext() *AppliesContext

func (*AppliesContext) AllSP

func (s *AppliesContext) AllSP() []antlr.TerminalNode

func (*AppliesContext) GetParser

func (s *AppliesContext) GetParser() antlr.Parser

func (*AppliesContext) GetRuleContext

func (s *AppliesContext) GetRuleContext() antlr.RuleContext

func (*AppliesContext) IsAppliesContext

func (*AppliesContext) IsAppliesContext()

func (*AppliesContext) OID

func (s *AppliesContext) OID() IOIDContext

func (*AppliesContext) OIDs

func (s *AppliesContext) OIDs() IOIDsContext

func (*AppliesContext) SP

func (s *AppliesContext) SP(i int) antlr.TerminalNode

func (*AppliesContext) ToStringTree

func (s *AppliesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AttrOptionsContext

type AttrOptionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttrOptionsContext

func NewAttrOptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttrOptionsContext

func NewEmptyAttrOptionsContext

func NewEmptyAttrOptionsContext() *AttrOptionsContext

func (*AttrOptionsContext) AllDescriptor

func (s *AttrOptionsContext) AllDescriptor() []IDescriptorContext

func (*AttrOptionsContext) Descriptor

func (s *AttrOptionsContext) Descriptor(i int) IDescriptorContext

func (*AttrOptionsContext) GetParser

func (s *AttrOptionsContext) GetParser() antlr.Parser

func (*AttrOptionsContext) GetRuleContext

func (s *AttrOptionsContext) GetRuleContext() antlr.RuleContext

func (*AttrOptionsContext) IsAttrOptionsContext

func (*AttrOptionsContext) IsAttrOptionsContext()

func (*AttrOptionsContext) ToStringTree

func (s *AttrOptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AttributeDescriptionContext

type AttributeDescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttributeDescriptionContext

func NewAttributeDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttributeDescriptionContext

func NewEmptyAttributeDescriptionContext

func NewEmptyAttributeDescriptionContext() *AttributeDescriptionContext

func (*AttributeDescriptionContext) AttrOptions

func (*AttributeDescriptionContext) GetParser

func (s *AttributeDescriptionContext) GetParser() antlr.Parser

func (*AttributeDescriptionContext) GetRuleContext

func (s *AttributeDescriptionContext) GetRuleContext() antlr.RuleContext

func (*AttributeDescriptionContext) IsAttributeDescriptionContext

func (*AttributeDescriptionContext) IsAttributeDescriptionContext()

func (*AttributeDescriptionContext) OID

func (*AttributeDescriptionContext) ToStringTree

func (s *AttributeDescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AttributeType

type AttributeType struct {
	OID        string
	Macro      []string
	Name       []string
	Desc       string
	Obsolete   bool
	SuperType  string
	Equality   string
	Ordering   string
	Substring  string
	Syntax     string
	Single     bool
	Collective bool
	Immutable  bool
	Usage      string
	MUB        uint
	Extensions map[string][]string
}

AttributeType implements RFC 4512 Section 4.1.2.

func ParseAttributeType

func ParseAttributeType(raw string) (at AttributeType, err error)

ParseAttributeType processes raw into an instance of AttributeType, which is returned alongside an error.

Example
var raw string = `( 2.5.4.3 NAME ( 'cn' 'commonName' )
		DESC 'RFC4519: common name(s) for which the entity is known by'
		SUP name
		X-ORIGIN 'RFC4519' )`

at, err := ParseAttributeType(raw)
if err != nil {
	fmt.Printf("%v", err)
	return
}

fmt.Printf("%s\n", at.OID)
Output:

2.5.4.3

type AttributeTypeDescriptionContext

type AttributeTypeDescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttributeTypeDescriptionContext

func NewAttributeTypeDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttributeTypeDescriptionContext

func NewEmptyAttributeTypeDescriptionContext

func NewEmptyAttributeTypeDescriptionContext() *AttributeTypeDescriptionContext

func (*AttributeTypeDescriptionContext) AllCollective

func (*AttributeTypeDescriptionContext) AllDescription

func (*AttributeTypeDescriptionContext) AllEquality

func (*AttributeTypeDescriptionContext) AllImmutability

func (*AttributeTypeDescriptionContext) AllLineComment

func (s *AttributeTypeDescriptionContext) AllLineComment() []antlr.TerminalNode

func (*AttributeTypeDescriptionContext) AllMinUpperBounds

func (*AttributeTypeDescriptionContext) AllNEWLINE

func (s *AttributeTypeDescriptionContext) AllNEWLINE() []antlr.TerminalNode

func (*AttributeTypeDescriptionContext) AllName

func (*AttributeTypeDescriptionContext) AllObsolescence

func (*AttributeTypeDescriptionContext) AllOrdering

func (*AttributeTypeDescriptionContext) AllSP

func (s *AttributeTypeDescriptionContext) AllSP() []antlr.TerminalNode

func (*AttributeTypeDescriptionContext) AllSingleValue

func (*AttributeTypeDescriptionContext) AllSubstr

func (*AttributeTypeDescriptionContext) AllSuperType

func (*AttributeTypeDescriptionContext) AllSyntax

func (*AttributeTypeDescriptionContext) AllUsage

func (*AttributeTypeDescriptionContext) CloseParen

func (*AttributeTypeDescriptionContext) Collective

func (*AttributeTypeDescriptionContext) Description

func (*AttributeTypeDescriptionContext) Equality

func (*AttributeTypeDescriptionContext) Extensions

func (*AttributeTypeDescriptionContext) GetParser

func (s *AttributeTypeDescriptionContext) GetParser() antlr.Parser

func (*AttributeTypeDescriptionContext) GetRuleContext

func (s *AttributeTypeDescriptionContext) GetRuleContext() antlr.RuleContext

func (*AttributeTypeDescriptionContext) Immutability

func (*AttributeTypeDescriptionContext) IsAttributeTypeDescriptionContext

func (*AttributeTypeDescriptionContext) IsAttributeTypeDescriptionContext()

func (*AttributeTypeDescriptionContext) LineComment

func (s *AttributeTypeDescriptionContext) LineComment(i int) antlr.TerminalNode

func (*AttributeTypeDescriptionContext) MinUpperBounds

func (*AttributeTypeDescriptionContext) NEWLINE

func (s *AttributeTypeDescriptionContext) NEWLINE(i int) antlr.TerminalNode

func (*AttributeTypeDescriptionContext) Name

func (*AttributeTypeDescriptionContext) NumericOIDOrMacro

func (*AttributeTypeDescriptionContext) Obsolescence

func (*AttributeTypeDescriptionContext) OpenParen

func (*AttributeTypeDescriptionContext) Ordering

func (*AttributeTypeDescriptionContext) SP

func (s *AttributeTypeDescriptionContext) SP(i int) antlr.TerminalNode

func (*AttributeTypeDescriptionContext) SingleValue

func (*AttributeTypeDescriptionContext) Substr

func (*AttributeTypeDescriptionContext) SuperType

func (*AttributeTypeDescriptionContext) Syntax

func (*AttributeTypeDescriptionContext) ToStringTree

func (s *AttributeTypeDescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*AttributeTypeDescriptionContext) Usage

type AttributeTypeDescriptionsContext

type AttributeTypeDescriptionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttributeTypeDescriptionsContext

func NewAttributeTypeDescriptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttributeTypeDescriptionsContext

func NewEmptyAttributeTypeDescriptionsContext

func NewEmptyAttributeTypeDescriptionsContext() *AttributeTypeDescriptionsContext

func (*AttributeTypeDescriptionsContext) AllAttributeTypeDescription

func (s *AttributeTypeDescriptionsContext) AllAttributeTypeDescription() []IAttributeTypeDescriptionContext

func (*AttributeTypeDescriptionsContext) AllAttributeTypeLabel

func (s *AttributeTypeDescriptionsContext) AllAttributeTypeLabel() []IAttributeTypeLabelContext

func (*AttributeTypeDescriptionsContext) AllEOF

func (s *AttributeTypeDescriptionsContext) AllEOF() []antlr.TerminalNode

func (*AttributeTypeDescriptionsContext) AllNEWLINE

func (s *AttributeTypeDescriptionsContext) AllNEWLINE() []antlr.TerminalNode

func (*AttributeTypeDescriptionsContext) AllSP

func (s *AttributeTypeDescriptionsContext) AllSP() []antlr.TerminalNode

func (*AttributeTypeDescriptionsContext) AttributeTypeDescription

func (*AttributeTypeDescriptionsContext) AttributeTypeLabel

func (*AttributeTypeDescriptionsContext) EOF

func (s *AttributeTypeDescriptionsContext) EOF(i int) antlr.TerminalNode

func (*AttributeTypeDescriptionsContext) GetParser

func (s *AttributeTypeDescriptionsContext) GetParser() antlr.Parser

func (*AttributeTypeDescriptionsContext) GetRuleContext

func (s *AttributeTypeDescriptionsContext) GetRuleContext() antlr.RuleContext

func (*AttributeTypeDescriptionsContext) IsAttributeTypeDescriptionsContext

func (*AttributeTypeDescriptionsContext) IsAttributeTypeDescriptionsContext()

func (*AttributeTypeDescriptionsContext) NEWLINE

func (s *AttributeTypeDescriptionsContext) NEWLINE(i int) antlr.TerminalNode

func (*AttributeTypeDescriptionsContext) SP

func (s *AttributeTypeDescriptionsContext) SP(i int) antlr.TerminalNode

func (*AttributeTypeDescriptionsContext) ToStringTree

func (s *AttributeTypeDescriptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AttributeTypeLabelContext

type AttributeTypeLabelContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAttributeTypeLabelContext

func NewAttributeTypeLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AttributeTypeLabelContext

func NewEmptyAttributeTypeLabelContext

func NewEmptyAttributeTypeLabelContext() *AttributeTypeLabelContext

func (*AttributeTypeLabelContext) ATLabel

func (s *AttributeTypeLabelContext) ATLabel() antlr.TerminalNode

func (*AttributeTypeLabelContext) DefinitionLabelDelim

func (s *AttributeTypeLabelContext) DefinitionLabelDelim() IDefinitionLabelDelimContext

func (*AttributeTypeLabelContext) GetParser

func (s *AttributeTypeLabelContext) GetParser() antlr.Parser

func (*AttributeTypeLabelContext) GetRuleContext

func (s *AttributeTypeLabelContext) GetRuleContext() antlr.RuleContext

func (*AttributeTypeLabelContext) IsAttributeTypeLabelContext

func (*AttributeTypeLabelContext) IsAttributeTypeLabelContext()

func (*AttributeTypeLabelContext) ToStringTree

func (s *AttributeTypeLabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AttributeTypes

type AttributeTypes []AttributeType

AttributeTypes is an instance of slices of AttributeType instances.

type AuxContext

type AuxContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAuxContext

func NewAuxContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AuxContext

func NewEmptyAuxContext

func NewEmptyAuxContext() *AuxContext

func (*AuxContext) AllSP

func (s *AuxContext) AllSP() []antlr.TerminalNode

func (*AuxContext) GetParser

func (s *AuxContext) GetParser() antlr.Parser

func (*AuxContext) GetRuleContext

func (s *AuxContext) GetRuleContext() antlr.RuleContext

func (*AuxContext) IsAuxContext

func (*AuxContext) IsAuxContext()

func (*AuxContext) OID

func (s *AuxContext) OID() IOIDContext

func (*AuxContext) OIDs

func (s *AuxContext) OIDs() IOIDsContext

func (*AuxContext) SP

func (s *AuxContext) SP(i int) antlr.TerminalNode

func (*AuxContext) ToStringTree

func (s *AuxContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type AuxiliaryKindContext

type AuxiliaryKindContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewAuxiliaryKindContext

func NewAuxiliaryKindContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AuxiliaryKindContext

func NewEmptyAuxiliaryKindContext

func NewEmptyAuxiliaryKindContext() *AuxiliaryKindContext

func (*AuxiliaryKindContext) GetParser

func (s *AuxiliaryKindContext) GetParser() antlr.Parser

func (*AuxiliaryKindContext) GetRuleContext

func (s *AuxiliaryKindContext) GetRuleContext() antlr.RuleContext

func (*AuxiliaryKindContext) IsAuxiliaryKindContext

func (*AuxiliaryKindContext) IsAuxiliaryKindContext()

func (*AuxiliaryKindContext) ToStringTree

func (s *AuxiliaryKindContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CloseParenContext

type CloseParenContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCloseParenContext

func NewCloseParenContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CloseParenContext

func NewEmptyCloseParenContext

func NewEmptyCloseParenContext() *CloseParenContext

func (*CloseParenContext) CloseParenthesis

func (s *CloseParenContext) CloseParenthesis() antlr.TerminalNode

func (*CloseParenContext) GetParser

func (s *CloseParenContext) GetParser() antlr.Parser

func (*CloseParenContext) GetRuleContext

func (s *CloseParenContext) GetRuleContext() antlr.RuleContext

func (*CloseParenContext) IsCloseParenContext

func (*CloseParenContext) IsCloseParenContext()

func (*CloseParenContext) ToStringTree

func (s *CloseParenContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type CollectiveContext

type CollectiveContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewCollectiveContext

func NewCollectiveContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CollectiveContext

func NewEmptyCollectiveContext

func NewEmptyCollectiveContext() *CollectiveContext

func (*CollectiveContext) AllSP

func (s *CollectiveContext) AllSP() []antlr.TerminalNode

func (*CollectiveContext) GetParser

func (s *CollectiveContext) GetParser() antlr.Parser

func (*CollectiveContext) GetRuleContext

func (s *CollectiveContext) GetRuleContext() antlr.RuleContext

func (*CollectiveContext) IsCollectiveContext

func (*CollectiveContext) IsCollectiveContext()

func (*CollectiveContext) SP

func (s *CollectiveContext) SP(i int) antlr.TerminalNode

func (*CollectiveContext) ToStringTree

func (s *CollectiveContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DITContentRule

type DITContentRule struct {
	OID        string
	Macro      []string
	Name       []string
	Desc       string
	Obsolete   bool
	Aux        []string
	Must       []string
	May        []string
	Not        []string
	Extensions map[string][]string
}

DITContentRule implements RFC 4512 Section 4.1.6.

func ParseDITContentRule

func ParseDITContentRule(raw string) (dc DITContentRule, err error)

ParseDITContentRule processes raw into an instance of DITContentRule, which is returned alongside an error.

type DITContentRuleDescriptionContext

type DITContentRuleDescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDITContentRuleDescriptionContext

func NewDITContentRuleDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DITContentRuleDescriptionContext

func NewEmptyDITContentRuleDescriptionContext

func NewEmptyDITContentRuleDescriptionContext() *DITContentRuleDescriptionContext

func (*DITContentRuleDescriptionContext) AllAux

func (*DITContentRuleDescriptionContext) AllDescription

func (*DITContentRuleDescriptionContext) AllLineComment

func (s *DITContentRuleDescriptionContext) AllLineComment() []antlr.TerminalNode

func (*DITContentRuleDescriptionContext) AllMay

func (*DITContentRuleDescriptionContext) AllMust

func (*DITContentRuleDescriptionContext) AllNEWLINE

func (s *DITContentRuleDescriptionContext) AllNEWLINE() []antlr.TerminalNode

func (*DITContentRuleDescriptionContext) AllName

func (*DITContentRuleDescriptionContext) AllNot

func (*DITContentRuleDescriptionContext) AllObsolescence

func (*DITContentRuleDescriptionContext) AllSP

func (s *DITContentRuleDescriptionContext) AllSP() []antlr.TerminalNode

func (*DITContentRuleDescriptionContext) Aux

func (*DITContentRuleDescriptionContext) CloseParen

func (*DITContentRuleDescriptionContext) Description

func (*DITContentRuleDescriptionContext) Extensions

func (*DITContentRuleDescriptionContext) GetParser

func (s *DITContentRuleDescriptionContext) GetParser() antlr.Parser

func (*DITContentRuleDescriptionContext) GetRuleContext

func (s *DITContentRuleDescriptionContext) GetRuleContext() antlr.RuleContext

func (*DITContentRuleDescriptionContext) IsDITContentRuleDescriptionContext

func (*DITContentRuleDescriptionContext) IsDITContentRuleDescriptionContext()

func (*DITContentRuleDescriptionContext) LineComment

func (s *DITContentRuleDescriptionContext) LineComment(i int) antlr.TerminalNode

func (*DITContentRuleDescriptionContext) May

func (*DITContentRuleDescriptionContext) Must

func (*DITContentRuleDescriptionContext) NEWLINE

func (s *DITContentRuleDescriptionContext) NEWLINE(i int) antlr.TerminalNode

func (*DITContentRuleDescriptionContext) Name

func (*DITContentRuleDescriptionContext) Not

func (*DITContentRuleDescriptionContext) NumericOIDOrMacro

func (*DITContentRuleDescriptionContext) Obsolescence

func (*DITContentRuleDescriptionContext) OpenParen

func (*DITContentRuleDescriptionContext) SP

func (s *DITContentRuleDescriptionContext) SP(i int) antlr.TerminalNode

func (*DITContentRuleDescriptionContext) ToStringTree

func (s *DITContentRuleDescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DITContentRuleDescriptionsContext

type DITContentRuleDescriptionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDITContentRuleDescriptionsContext

func NewDITContentRuleDescriptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DITContentRuleDescriptionsContext

func NewEmptyDITContentRuleDescriptionsContext

func NewEmptyDITContentRuleDescriptionsContext() *DITContentRuleDescriptionsContext

func (*DITContentRuleDescriptionsContext) AllDITContentRuleDescription

func (s *DITContentRuleDescriptionsContext) AllDITContentRuleDescription() []IDITContentRuleDescriptionContext

func (*DITContentRuleDescriptionsContext) AllDITContentRuleLabel

func (s *DITContentRuleDescriptionsContext) AllDITContentRuleLabel() []IDITContentRuleLabelContext

func (*DITContentRuleDescriptionsContext) AllEOF

func (s *DITContentRuleDescriptionsContext) AllEOF() []antlr.TerminalNode

func (*DITContentRuleDescriptionsContext) AllNEWLINE

func (s *DITContentRuleDescriptionsContext) AllNEWLINE() []antlr.TerminalNode

func (*DITContentRuleDescriptionsContext) AllSP

func (s *DITContentRuleDescriptionsContext) AllSP() []antlr.TerminalNode

func (*DITContentRuleDescriptionsContext) DITContentRuleDescription

func (*DITContentRuleDescriptionsContext) DITContentRuleLabel

func (*DITContentRuleDescriptionsContext) EOF

func (s *DITContentRuleDescriptionsContext) EOF(i int) antlr.TerminalNode

func (*DITContentRuleDescriptionsContext) GetParser

func (s *DITContentRuleDescriptionsContext) GetParser() antlr.Parser

func (*DITContentRuleDescriptionsContext) GetRuleContext

func (s *DITContentRuleDescriptionsContext) GetRuleContext() antlr.RuleContext

func (*DITContentRuleDescriptionsContext) IsDITContentRuleDescriptionsContext

func (*DITContentRuleDescriptionsContext) IsDITContentRuleDescriptionsContext()

func (*DITContentRuleDescriptionsContext) NEWLINE

func (s *DITContentRuleDescriptionsContext) NEWLINE(i int) antlr.TerminalNode

func (*DITContentRuleDescriptionsContext) SP

func (s *DITContentRuleDescriptionsContext) SP(i int) antlr.TerminalNode

func (*DITContentRuleDescriptionsContext) ToStringTree

func (s *DITContentRuleDescriptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DITContentRuleLabelContext

type DITContentRuleLabelContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDITContentRuleLabelContext

func NewDITContentRuleLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DITContentRuleLabelContext

func NewEmptyDITContentRuleLabelContext

func NewEmptyDITContentRuleLabelContext() *DITContentRuleLabelContext

func (*DITContentRuleLabelContext) DCLabel

func (s *DITContentRuleLabelContext) DCLabel() antlr.TerminalNode

func (*DITContentRuleLabelContext) DefinitionLabelDelim

func (s *DITContentRuleLabelContext) DefinitionLabelDelim() IDefinitionLabelDelimContext

func (*DITContentRuleLabelContext) GetParser

func (s *DITContentRuleLabelContext) GetParser() antlr.Parser

func (*DITContentRuleLabelContext) GetRuleContext

func (s *DITContentRuleLabelContext) GetRuleContext() antlr.RuleContext

func (*DITContentRuleLabelContext) IsDITContentRuleLabelContext

func (*DITContentRuleLabelContext) IsDITContentRuleLabelContext()

func (*DITContentRuleLabelContext) ToStringTree

func (s *DITContentRuleLabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DITContentRules

type DITContentRules []DITContentRule

DITContentRules is an instance of slices of DITContentRule instances.

type DITStructureRule

type DITStructureRule struct {
	ID         string
	Name       []string
	Desc       string
	Obsolete   bool
	Form       string
	SuperRules []string
	Extensions map[string][]string
}

DITStructureRule implements RFC 4512 Section 4.1.7.1.

func ParseDITStructureRule

func ParseDITStructureRule(raw string) (ds DITStructureRule, err error)

ParseDITStructureRule processes raw into an instance of DITStructureRule, which is returned alongside an error.

type DITStructureRuleDescriptionContext

type DITStructureRuleDescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDITStructureRuleDescriptionContext

func NewDITStructureRuleDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DITStructureRuleDescriptionContext

func NewEmptyDITStructureRuleDescriptionContext

func NewEmptyDITStructureRuleDescriptionContext() *DITStructureRuleDescriptionContext

func (*DITStructureRuleDescriptionContext) AllDescription

func (*DITStructureRuleDescriptionContext) AllLineComment

func (s *DITStructureRuleDescriptionContext) AllLineComment() []antlr.TerminalNode

func (*DITStructureRuleDescriptionContext) AllNEWLINE

func (s *DITStructureRuleDescriptionContext) AllNEWLINE() []antlr.TerminalNode

func (*DITStructureRuleDescriptionContext) AllName

func (*DITStructureRuleDescriptionContext) AllObsolescence

func (*DITStructureRuleDescriptionContext) AllSP

func (s *DITStructureRuleDescriptionContext) AllSP() []antlr.TerminalNode

func (*DITStructureRuleDescriptionContext) CloseParen

func (*DITStructureRuleDescriptionContext) Description

func (*DITStructureRuleDescriptionContext) Extensions

func (*DITStructureRuleDescriptionContext) Form

func (*DITStructureRuleDescriptionContext) GetParser

func (s *DITStructureRuleDescriptionContext) GetParser() antlr.Parser

func (*DITStructureRuleDescriptionContext) GetRuleContext

func (s *DITStructureRuleDescriptionContext) GetRuleContext() antlr.RuleContext

func (*DITStructureRuleDescriptionContext) IsDITStructureRuleDescriptionContext

func (*DITStructureRuleDescriptionContext) IsDITStructureRuleDescriptionContext()

func (*DITStructureRuleDescriptionContext) LineComment

func (s *DITStructureRuleDescriptionContext) LineComment(i int) antlr.TerminalNode

func (*DITStructureRuleDescriptionContext) NEWLINE

func (s *DITStructureRuleDescriptionContext) NEWLINE(i int) antlr.TerminalNode

func (*DITStructureRuleDescriptionContext) Name

func (*DITStructureRuleDescriptionContext) Obsolescence

func (*DITStructureRuleDescriptionContext) OpenParen

func (*DITStructureRuleDescriptionContext) SP

func (s *DITStructureRuleDescriptionContext) SP(i int) antlr.TerminalNode

func (*DITStructureRuleDescriptionContext) StructureRule

func (*DITStructureRuleDescriptionContext) SuperRules

func (*DITStructureRuleDescriptionContext) ToStringTree

func (s *DITStructureRuleDescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DITStructureRuleDescriptionsContext

type DITStructureRuleDescriptionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDITStructureRuleDescriptionsContext

func NewDITStructureRuleDescriptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DITStructureRuleDescriptionsContext

func NewEmptyDITStructureRuleDescriptionsContext

func NewEmptyDITStructureRuleDescriptionsContext() *DITStructureRuleDescriptionsContext

func (*DITStructureRuleDescriptionsContext) AllDITStructureRuleDescription

func (s *DITStructureRuleDescriptionsContext) AllDITStructureRuleDescription() []IDITStructureRuleDescriptionContext

func (*DITStructureRuleDescriptionsContext) AllDITStructureRuleLabel

func (*DITStructureRuleDescriptionsContext) AllEOF

func (s *DITStructureRuleDescriptionsContext) AllEOF() []antlr.TerminalNode

func (*DITStructureRuleDescriptionsContext) AllNEWLINE

func (s *DITStructureRuleDescriptionsContext) AllNEWLINE() []antlr.TerminalNode

func (*DITStructureRuleDescriptionsContext) AllSP

func (s *DITStructureRuleDescriptionsContext) AllSP() []antlr.TerminalNode

func (*DITStructureRuleDescriptionsContext) DITStructureRuleDescription

func (*DITStructureRuleDescriptionsContext) DITStructureRuleLabel

func (*DITStructureRuleDescriptionsContext) EOF

func (s *DITStructureRuleDescriptionsContext) EOF(i int) antlr.TerminalNode

func (*DITStructureRuleDescriptionsContext) GetParser

func (s *DITStructureRuleDescriptionsContext) GetParser() antlr.Parser

func (*DITStructureRuleDescriptionsContext) GetRuleContext

func (s *DITStructureRuleDescriptionsContext) GetRuleContext() antlr.RuleContext

func (*DITStructureRuleDescriptionsContext) IsDITStructureRuleDescriptionsContext

func (*DITStructureRuleDescriptionsContext) IsDITStructureRuleDescriptionsContext()

func (*DITStructureRuleDescriptionsContext) NEWLINE

func (s *DITStructureRuleDescriptionsContext) NEWLINE(i int) antlr.TerminalNode

func (*DITStructureRuleDescriptionsContext) SP

func (s *DITStructureRuleDescriptionsContext) SP(i int) antlr.TerminalNode

func (*DITStructureRuleDescriptionsContext) ToStringTree

func (s *DITStructureRuleDescriptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DITStructureRuleLabelContext

type DITStructureRuleLabelContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDITStructureRuleLabelContext

func NewDITStructureRuleLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DITStructureRuleLabelContext

func NewEmptyDITStructureRuleLabelContext

func NewEmptyDITStructureRuleLabelContext() *DITStructureRuleLabelContext

func (*DITStructureRuleLabelContext) DSLabel

func (s *DITStructureRuleLabelContext) DSLabel() antlr.TerminalNode

func (*DITStructureRuleLabelContext) DefinitionLabelDelim

func (*DITStructureRuleLabelContext) GetParser

func (s *DITStructureRuleLabelContext) GetParser() antlr.Parser

func (*DITStructureRuleLabelContext) GetRuleContext

func (s *DITStructureRuleLabelContext) GetRuleContext() antlr.RuleContext

func (*DITStructureRuleLabelContext) IsDITStructureRuleLabelContext

func (*DITStructureRuleLabelContext) IsDITStructureRuleLabelContext()

func (*DITStructureRuleLabelContext) ToStringTree

func (s *DITStructureRuleLabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DITStructureRules

type DITStructureRules []DITStructureRule

DITStructureRules is an instance of slices of DITStructureRule instances.

type DSAOperationContext

type DSAOperationContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDSAOperationContext

func NewDSAOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DSAOperationContext

func NewEmptyDSAOperationContext

func NewEmptyDSAOperationContext() *DSAOperationContext

func (*DSAOperationContext) GetParser

func (s *DSAOperationContext) GetParser() antlr.Parser

func (*DSAOperationContext) GetRuleContext

func (s *DSAOperationContext) GetRuleContext() antlr.RuleContext

func (*DSAOperationContext) IsDSAOperationContext

func (*DSAOperationContext) IsDSAOperationContext()

func (*DSAOperationContext) ToStringTree

func (s *DSAOperationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DefinitionLabelDelimContext

type DefinitionLabelDelimContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDefinitionLabelDelimContext

func NewDefinitionLabelDelimContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefinitionLabelDelimContext

func NewEmptyDefinitionLabelDelimContext

func NewEmptyDefinitionLabelDelimContext() *DefinitionLabelDelimContext

func (*DefinitionLabelDelimContext) AllSP

func (s *DefinitionLabelDelimContext) AllSP() []antlr.TerminalNode

func (*DefinitionLabelDelimContext) GetParser

func (s *DefinitionLabelDelimContext) GetParser() antlr.Parser

func (*DefinitionLabelDelimContext) GetRuleContext

func (s *DefinitionLabelDelimContext) GetRuleContext() antlr.RuleContext

func (*DefinitionLabelDelimContext) IsDefinitionLabelDelimContext

func (*DefinitionLabelDelimContext) IsDefinitionLabelDelimContext()

func (*DefinitionLabelDelimContext) SP

func (s *DefinitionLabelDelimContext) SP(i int) antlr.TerminalNode

func (*DefinitionLabelDelimContext) ToStringTree

func (s *DefinitionLabelDelimContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DefinitionsContext

type DefinitionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDefinitionsContext

func NewDefinitionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DefinitionsContext

func NewEmptyDefinitionsContext

func NewEmptyDefinitionsContext() *DefinitionsContext

func (*DefinitionsContext) AllAttributeTypeDescriptions

func (s *DefinitionsContext) AllAttributeTypeDescriptions() []IAttributeTypeDescriptionsContext

func (*DefinitionsContext) AllDITContentRuleDescriptions

func (s *DefinitionsContext) AllDITContentRuleDescriptions() []IDITContentRuleDescriptionsContext

func (*DefinitionsContext) AllDITStructureRuleDescriptions

func (s *DefinitionsContext) AllDITStructureRuleDescriptions() []IDITStructureRuleDescriptionsContext

func (*DefinitionsContext) AllLDAPSyntaxDescriptions

func (s *DefinitionsContext) AllLDAPSyntaxDescriptions() []ILDAPSyntaxDescriptionsContext

func (*DefinitionsContext) AllLineComment

func (s *DefinitionsContext) AllLineComment() []antlr.TerminalNode

func (*DefinitionsContext) AllMatchingRuleDescriptions

func (s *DefinitionsContext) AllMatchingRuleDescriptions() []IMatchingRuleDescriptionsContext

func (*DefinitionsContext) AllMatchingRuleUseDescriptions

func (s *DefinitionsContext) AllMatchingRuleUseDescriptions() []IMatchingRuleUseDescriptionsContext

func (*DefinitionsContext) AllNameFormDescriptions

func (s *DefinitionsContext) AllNameFormDescriptions() []INameFormDescriptionsContext

func (*DefinitionsContext) AllObjectClassDescriptions

func (s *DefinitionsContext) AllObjectClassDescriptions() []IObjectClassDescriptionsContext

func (*DefinitionsContext) AllObjectIdentifier

func (s *DefinitionsContext) AllObjectIdentifier() []IObjectIdentifierContext

func (*DefinitionsContext) AttributeTypeDescriptions

func (s *DefinitionsContext) AttributeTypeDescriptions(i int) IAttributeTypeDescriptionsContext

func (*DefinitionsContext) DITContentRuleDescriptions

func (s *DefinitionsContext) DITContentRuleDescriptions(i int) IDITContentRuleDescriptionsContext

func (*DefinitionsContext) DITStructureRuleDescriptions

func (s *DefinitionsContext) DITStructureRuleDescriptions(i int) IDITStructureRuleDescriptionsContext

func (*DefinitionsContext) GetParser

func (s *DefinitionsContext) GetParser() antlr.Parser

func (*DefinitionsContext) GetRuleContext

func (s *DefinitionsContext) GetRuleContext() antlr.RuleContext

func (*DefinitionsContext) IsDefinitionsContext

func (*DefinitionsContext) IsDefinitionsContext()

func (*DefinitionsContext) LDAPSyntaxDescriptions

func (s *DefinitionsContext) LDAPSyntaxDescriptions(i int) ILDAPSyntaxDescriptionsContext

func (*DefinitionsContext) LineComment

func (s *DefinitionsContext) LineComment(i int) antlr.TerminalNode

func (*DefinitionsContext) MatchingRuleDescriptions

func (s *DefinitionsContext) MatchingRuleDescriptions(i int) IMatchingRuleDescriptionsContext

func (*DefinitionsContext) MatchingRuleUseDescriptions

func (s *DefinitionsContext) MatchingRuleUseDescriptions(i int) IMatchingRuleUseDescriptionsContext

func (*DefinitionsContext) NameFormDescriptions

func (s *DefinitionsContext) NameFormDescriptions(i int) INameFormDescriptionsContext

func (*DefinitionsContext) ObjectClassDescriptions

func (s *DefinitionsContext) ObjectClassDescriptions(i int) IObjectClassDescriptionsContext

func (*DefinitionsContext) ObjectIdentifier

func (s *DefinitionsContext) ObjectIdentifier(i int) IObjectIdentifierContext

func (*DefinitionsContext) ToStringTree

func (s *DefinitionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DescriptionContext

type DescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDescriptionContext

func NewDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DescriptionContext

func NewEmptyDescriptionContext

func NewEmptyDescriptionContext() *DescriptionContext

func (*DescriptionContext) AllSP

func (s *DescriptionContext) AllSP() []antlr.TerminalNode

func (*DescriptionContext) GetParser

func (s *DescriptionContext) GetParser() antlr.Parser

func (*DescriptionContext) GetRuleContext

func (s *DescriptionContext) GetRuleContext() antlr.RuleContext

func (*DescriptionContext) IsDescriptionContext

func (*DescriptionContext) IsDescriptionContext()

func (*DescriptionContext) QuotedDescriptor

func (s *DescriptionContext) QuotedDescriptor() IQuotedDescriptorContext

func (*DescriptionContext) QuotedString

func (s *DescriptionContext) QuotedString() IQuotedStringContext

func (*DescriptionContext) SP

func (s *DescriptionContext) SP(i int) antlr.TerminalNode

func (*DescriptionContext) ToStringTree

func (s *DescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DescriptorContext

type DescriptorContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDescriptorContext

func NewDescriptorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DescriptorContext

func NewEmptyDescriptorContext

func NewEmptyDescriptorContext() *DescriptorContext

func (*DescriptorContext) ATLabel

func (s *DescriptorContext) ATLabel() antlr.TerminalNode

func (*DescriptorContext) DCLabel

func (s *DescriptorContext) DCLabel() antlr.TerminalNode

func (*DescriptorContext) DSLabel

func (s *DescriptorContext) DSLabel() antlr.TerminalNode

func (*DescriptorContext) Descr

func (s *DescriptorContext) Descr() antlr.TerminalNode

func (*DescriptorContext) GetParser

func (s *DescriptorContext) GetParser() antlr.Parser

func (*DescriptorContext) GetRuleContext

func (s *DescriptorContext) GetRuleContext() antlr.RuleContext

func (*DescriptorContext) IsDescriptorContext

func (*DescriptorContext) IsDescriptorContext()

func (*DescriptorContext) LSLabel

func (s *DescriptorContext) LSLabel() antlr.TerminalNode

func (*DescriptorContext) MRLabel

func (s *DescriptorContext) MRLabel() antlr.TerminalNode

func (*DescriptorContext) MULabel

func (s *DescriptorContext) MULabel() antlr.TerminalNode

func (*DescriptorContext) NFLabel

func (s *DescriptorContext) NFLabel() antlr.TerminalNode

func (*DescriptorContext) OCLabel

func (s *DescriptorContext) OCLabel() antlr.TerminalNode

func (*DescriptorContext) ToStringTree

func (s *DescriptorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DirectoryOperationContext

type DirectoryOperationContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDirectoryOperationContext

func NewDirectoryOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DirectoryOperationContext

func NewEmptyDirectoryOperationContext

func NewEmptyDirectoryOperationContext() *DirectoryOperationContext

func (*DirectoryOperationContext) GetParser

func (s *DirectoryOperationContext) GetParser() antlr.Parser

func (*DirectoryOperationContext) GetRuleContext

func (s *DirectoryOperationContext) GetRuleContext() antlr.RuleContext

func (*DirectoryOperationContext) IsDirectoryOperationContext

func (*DirectoryOperationContext) IsDirectoryOperationContext()

func (*DirectoryOperationContext) ToStringTree

func (s *DirectoryOperationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type DistributedOperationContext

type DistributedOperationContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDistributedOperationContext

func NewDistributedOperationContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DistributedOperationContext

func NewEmptyDistributedOperationContext

func NewEmptyDistributedOperationContext() *DistributedOperationContext

func (*DistributedOperationContext) GetParser

func (s *DistributedOperationContext) GetParser() antlr.Parser

func (*DistributedOperationContext) GetRuleContext

func (s *DistributedOperationContext) GetRuleContext() antlr.RuleContext

func (*DistributedOperationContext) IsDistributedOperationContext

func (*DistributedOperationContext) IsDistributedOperationContext()

func (*DistributedOperationContext) ToStringTree

func (s *DistributedOperationContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type EqualityContext

type EqualityContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyEqualityContext

func NewEmptyEqualityContext() *EqualityContext

func NewEqualityContext

func NewEqualityContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EqualityContext

func (*EqualityContext) AllSP

func (s *EqualityContext) AllSP() []antlr.TerminalNode

func (*EqualityContext) GetParser

func (s *EqualityContext) GetParser() antlr.Parser

func (*EqualityContext) GetRuleContext

func (s *EqualityContext) GetRuleContext() antlr.RuleContext

func (*EqualityContext) IsEqualityContext

func (*EqualityContext) IsEqualityContext()

func (*EqualityContext) OID

func (s *EqualityContext) OID() IOIDContext

func (*EqualityContext) SP

func (s *EqualityContext) SP(i int) antlr.TerminalNode

func (*EqualityContext) ToStringTree

func (s *EqualityContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ErrorListener

type ErrorListener struct {
	*antlr.DefaultErrorListener
	Errors []error
}

func (*ErrorListener) SyntaxError

func (r *ErrorListener) SyntaxError(recognizer antlr.Recognizer, offendingSymbol any,
	line, column int, msg string, e antlr.RecognitionException)

type ExtensionContext

type ExtensionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExtensionContext

func NewEmptyExtensionContext() *ExtensionContext

func NewExtensionContext

func NewExtensionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExtensionContext

func (*ExtensionContext) AllExtensionValue

func (s *ExtensionContext) AllExtensionValue() []IExtensionValueContext

func (*ExtensionContext) AllLineComment

func (s *ExtensionContext) AllLineComment() []antlr.TerminalNode

func (*ExtensionContext) AllNEWLINE

func (s *ExtensionContext) AllNEWLINE() []antlr.TerminalNode

func (*ExtensionContext) AllSP

func (s *ExtensionContext) AllSP() []antlr.TerminalNode

func (*ExtensionContext) CloseParen

func (s *ExtensionContext) CloseParen() ICloseParenContext

func (*ExtensionContext) ExtensionValue

func (s *ExtensionContext) ExtensionValue(i int) IExtensionValueContext

func (*ExtensionContext) GetParser

func (s *ExtensionContext) GetParser() antlr.Parser

func (*ExtensionContext) GetRuleContext

func (s *ExtensionContext) GetRuleContext() antlr.RuleContext

func (*ExtensionContext) IsExtensionContext

func (*ExtensionContext) IsExtensionContext()

func (*ExtensionContext) LineComment

func (s *ExtensionContext) LineComment(i int) antlr.TerminalNode

func (*ExtensionContext) NEWLINE

func (s *ExtensionContext) NEWLINE(i int) antlr.TerminalNode

func (*ExtensionContext) OpenParen

func (s *ExtensionContext) OpenParen() IOpenParenContext

func (*ExtensionContext) SP

func (s *ExtensionContext) SP(i int) antlr.TerminalNode

func (*ExtensionContext) ToStringTree

func (s *ExtensionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*ExtensionContext) XString

func (s *ExtensionContext) XString() antlr.TerminalNode

type ExtensionValueContext

type ExtensionValueContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExtensionValueContext

func NewEmptyExtensionValueContext() *ExtensionValueContext

func NewExtensionValueContext

func NewExtensionValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExtensionValueContext

func (*ExtensionValueContext) GetParser

func (s *ExtensionValueContext) GetParser() antlr.Parser

func (*ExtensionValueContext) GetRuleContext

func (s *ExtensionValueContext) GetRuleContext() antlr.RuleContext

func (*ExtensionValueContext) IsExtensionValueContext

func (*ExtensionValueContext) IsExtensionValueContext()

func (*ExtensionValueContext) QuotedDescriptor

func (s *ExtensionValueContext) QuotedDescriptor() IQuotedDescriptorContext

func (*ExtensionValueContext) QuotedString

func (s *ExtensionValueContext) QuotedString() IQuotedStringContext

func (*ExtensionValueContext) ToStringTree

func (s *ExtensionValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ExtensionsContext

type ExtensionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExtensionsContext

func NewEmptyExtensionsContext() *ExtensionsContext

func NewExtensionsContext

func NewExtensionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExtensionsContext

func (*ExtensionsContext) AllExtension

func (s *ExtensionsContext) AllExtension() []IExtensionContext

func (*ExtensionsContext) Extension

func (s *ExtensionsContext) Extension(i int) IExtensionContext

func (*ExtensionsContext) GetParser

func (s *ExtensionsContext) GetParser() antlr.Parser

func (*ExtensionsContext) GetRuleContext

func (s *ExtensionsContext) GetRuleContext() antlr.RuleContext

func (*ExtensionsContext) IsExtensionsContext

func (*ExtensionsContext) IsExtensionsContext()

func (*ExtensionsContext) ToStringTree

func (s *ExtensionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FileparseContext

type FileparseContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFileparseContext

func NewEmptyFileparseContext() *FileparseContext

func NewFileparseContext

func NewFileparseContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FileparseContext

func (*FileparseContext) Definitions

func (s *FileparseContext) Definitions() IDefinitionsContext

func (*FileparseContext) EOF

func (s *FileparseContext) EOF() antlr.TerminalNode

func (*FileparseContext) GetParser

func (s *FileparseContext) GetParser() antlr.Parser

func (*FileparseContext) GetRuleContext

func (s *FileparseContext) GetRuleContext() antlr.RuleContext

func (*FileparseContext) IsFileparseContext

func (*FileparseContext) IsFileparseContext()

func (*FileparseContext) LineComment

func (s *FileparseContext) LineComment() antlr.TerminalNode

func (*FileparseContext) NEWLINE

func (s *FileparseContext) NEWLINE() antlr.TerminalNode

func (*FileparseContext) SchemaDN

func (s *FileparseContext) SchemaDN() ISchemaDNContext

func (*FileparseContext) ToStringTree

func (s *FileparseContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FormContext

type FormContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFormContext

func NewEmptyFormContext() *FormContext

func NewFormContext

func NewFormContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FormContext

func (*FormContext) AllSP

func (s *FormContext) AllSP() []antlr.TerminalNode

func (*FormContext) GetParser

func (s *FormContext) GetParser() antlr.Parser

func (*FormContext) GetRuleContext

func (s *FormContext) GetRuleContext() antlr.RuleContext

func (*FormContext) IsFormContext

func (*FormContext) IsFormContext()

func (*FormContext) OID

func (s *FormContext) OID() IOIDContext

func (*FormContext) SP

func (s *FormContext) SP(i int) antlr.TerminalNode

func (*FormContext) ToStringTree

func (s *FormContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IAbstractKindContext

type IAbstractKindContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsAbstractKindContext differentiates from other interfaces.
	IsAbstractKindContext()
}

IAbstractKindContext is an interface to support dynamic dispatch.

type IAppliesContext

type IAppliesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	OIDs() IOIDsContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsAppliesContext differentiates from other interfaces.
	IsAppliesContext()
}

IAppliesContext is an interface to support dynamic dispatch.

type IAttrOptionsContext

type IAttrOptionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllDescriptor() []IDescriptorContext
	Descriptor(i int) IDescriptorContext

	// IsAttrOptionsContext differentiates from other interfaces.
	IsAttrOptionsContext()
}

IAttrOptionsContext is an interface to support dynamic dispatch.

type IAttributeDescriptionContext

type IAttributeDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	AttrOptions() IAttrOptionsContext

	// IsAttributeDescriptionContext differentiates from other interfaces.
	IsAttributeDescriptionContext()
}

IAttributeDescriptionContext is an interface to support dynamic dispatch.

type IAttributeTypeDescriptionContext

type IAttributeTypeDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	NumericOIDOrMacro() INumericOIDOrMacroContext
	CloseParen() ICloseParenContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	Extensions() IExtensionsContext
	AllName() []INameContext
	Name(i int) INameContext
	AllDescription() []IDescriptionContext
	Description(i int) IDescriptionContext
	AllObsolescence() []IObsolescenceContext
	Obsolescence(i int) IObsolescenceContext
	AllSuperType() []ISuperTypeContext
	SuperType(i int) ISuperTypeContext
	AllEquality() []IEqualityContext
	Equality(i int) IEqualityContext
	AllOrdering() []IOrderingContext
	Ordering(i int) IOrderingContext
	AllSubstr() []ISubstrContext
	Substr(i int) ISubstrContext
	AllSyntax() []ISyntaxContext
	Syntax(i int) ISyntaxContext
	AllImmutability() []IImmutabilityContext
	Immutability(i int) IImmutabilityContext
	AllUsage() []IUsageContext
	Usage(i int) IUsageContext
	AllSingleValue() []ISingleValueContext
	SingleValue(i int) ISingleValueContext
	AllCollective() []ICollectiveContext
	Collective(i int) ICollectiveContext
	AllMinUpperBounds() []IMinUpperBoundsContext
	MinUpperBounds(i int) IMinUpperBoundsContext

	// IsAttributeTypeDescriptionContext differentiates from other interfaces.
	IsAttributeTypeDescriptionContext()
}

IAttributeTypeDescriptionContext is an interface to support dynamic dispatch.

type IAttributeTypeDescriptionsContext

type IAttributeTypeDescriptionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllAttributeTypeLabel() []IAttributeTypeLabelContext
	AttributeTypeLabel(i int) IAttributeTypeLabelContext
	AllAttributeTypeDescription() []IAttributeTypeDescriptionContext
	AttributeTypeDescription(i int) IAttributeTypeDescriptionContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllEOF() []antlr.TerminalNode
	EOF(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsAttributeTypeDescriptionsContext differentiates from other interfaces.
	IsAttributeTypeDescriptionsContext()
}

IAttributeTypeDescriptionsContext is an interface to support dynamic dispatch.

type IAttributeTypeLabelContext

type IAttributeTypeLabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	ATLabel() antlr.TerminalNode
	DefinitionLabelDelim() IDefinitionLabelDelimContext

	// IsAttributeTypeLabelContext differentiates from other interfaces.
	IsAttributeTypeLabelContext()
}

IAttributeTypeLabelContext is an interface to support dynamic dispatch.

type IAuxContext

type IAuxContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	OIDs() IOIDsContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsAuxContext differentiates from other interfaces.
	IsAuxContext()
}

IAuxContext is an interface to support dynamic dispatch.

type IAuxiliaryKindContext

type IAuxiliaryKindContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsAuxiliaryKindContext differentiates from other interfaces.
	IsAuxiliaryKindContext()
}

IAuxiliaryKindContext is an interface to support dynamic dispatch.

type ICloseParenContext

type ICloseParenContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	CloseParenthesis() antlr.TerminalNode

	// IsCloseParenContext differentiates from other interfaces.
	IsCloseParenContext()
}

ICloseParenContext is an interface to support dynamic dispatch.

type ICollectiveContext

type ICollectiveContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsCollectiveContext differentiates from other interfaces.
	IsCollectiveContext()
}

ICollectiveContext is an interface to support dynamic dispatch.

type IDITContentRuleDescriptionContext

type IDITContentRuleDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	NumericOIDOrMacro() INumericOIDOrMacroContext
	CloseParen() ICloseParenContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	Extensions() IExtensionsContext
	AllName() []INameContext
	Name(i int) INameContext
	AllDescription() []IDescriptionContext
	Description(i int) IDescriptionContext
	AllObsolescence() []IObsolescenceContext
	Obsolescence(i int) IObsolescenceContext
	AllAux() []IAuxContext
	Aux(i int) IAuxContext
	AllMust() []IMustContext
	Must(i int) IMustContext
	AllMay() []IMayContext
	May(i int) IMayContext
	AllNot() []INotContext
	Not(i int) INotContext

	// IsDITContentRuleDescriptionContext differentiates from other interfaces.
	IsDITContentRuleDescriptionContext()
}

IDITContentRuleDescriptionContext is an interface to support dynamic dispatch.

type IDITContentRuleDescriptionsContext

type IDITContentRuleDescriptionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllDITContentRuleLabel() []IDITContentRuleLabelContext
	DITContentRuleLabel(i int) IDITContentRuleLabelContext
	AllDITContentRuleDescription() []IDITContentRuleDescriptionContext
	DITContentRuleDescription(i int) IDITContentRuleDescriptionContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllEOF() []antlr.TerminalNode
	EOF(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsDITContentRuleDescriptionsContext differentiates from other interfaces.
	IsDITContentRuleDescriptionsContext()
}

IDITContentRuleDescriptionsContext is an interface to support dynamic dispatch.

type IDITContentRuleLabelContext

type IDITContentRuleLabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	DCLabel() antlr.TerminalNode
	DefinitionLabelDelim() IDefinitionLabelDelimContext

	// IsDITContentRuleLabelContext differentiates from other interfaces.
	IsDITContentRuleLabelContext()
}

IDITContentRuleLabelContext is an interface to support dynamic dispatch.

type IDITStructureRuleDescriptionContext

type IDITStructureRuleDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	StructureRule() IStructureRuleContext
	CloseParen() ICloseParenContext
	Form() IFormContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	SuperRules() ISuperRulesContext
	Extensions() IExtensionsContext
	AllName() []INameContext
	Name(i int) INameContext
	AllDescription() []IDescriptionContext
	Description(i int) IDescriptionContext
	AllObsolescence() []IObsolescenceContext
	Obsolescence(i int) IObsolescenceContext

	// IsDITStructureRuleDescriptionContext differentiates from other interfaces.
	IsDITStructureRuleDescriptionContext()
}

IDITStructureRuleDescriptionContext is an interface to support dynamic dispatch.

type IDITStructureRuleDescriptionsContext

type IDITStructureRuleDescriptionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllDITStructureRuleLabel() []IDITStructureRuleLabelContext
	DITStructureRuleLabel(i int) IDITStructureRuleLabelContext
	AllDITStructureRuleDescription() []IDITStructureRuleDescriptionContext
	DITStructureRuleDescription(i int) IDITStructureRuleDescriptionContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllEOF() []antlr.TerminalNode
	EOF(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsDITStructureRuleDescriptionsContext differentiates from other interfaces.
	IsDITStructureRuleDescriptionsContext()
}

IDITStructureRuleDescriptionsContext is an interface to support dynamic dispatch.

type IDITStructureRuleLabelContext

type IDITStructureRuleLabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	DSLabel() antlr.TerminalNode
	DefinitionLabelDelim() IDefinitionLabelDelimContext

	// IsDITStructureRuleLabelContext differentiates from other interfaces.
	IsDITStructureRuleLabelContext()
}

IDITStructureRuleLabelContext is an interface to support dynamic dispatch.

type IDSAOperationContext

type IDSAOperationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsDSAOperationContext differentiates from other interfaces.
	IsDSAOperationContext()
}

IDSAOperationContext is an interface to support dynamic dispatch.

type IDefinitionLabelDelimContext

type IDefinitionLabelDelimContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsDefinitionLabelDelimContext differentiates from other interfaces.
	IsDefinitionLabelDelimContext()
}

IDefinitionLabelDelimContext is an interface to support dynamic dispatch.

type IDefinitionsContext

type IDefinitionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllObjectIdentifier() []IObjectIdentifierContext
	ObjectIdentifier(i int) IObjectIdentifierContext
	AllLDAPSyntaxDescriptions() []ILDAPSyntaxDescriptionsContext
	LDAPSyntaxDescriptions(i int) ILDAPSyntaxDescriptionsContext
	AllMatchingRuleDescriptions() []IMatchingRuleDescriptionsContext
	MatchingRuleDescriptions(i int) IMatchingRuleDescriptionsContext
	AllAttributeTypeDescriptions() []IAttributeTypeDescriptionsContext
	AttributeTypeDescriptions(i int) IAttributeTypeDescriptionsContext
	AllMatchingRuleUseDescriptions() []IMatchingRuleUseDescriptionsContext
	MatchingRuleUseDescriptions(i int) IMatchingRuleUseDescriptionsContext
	AllObjectClassDescriptions() []IObjectClassDescriptionsContext
	ObjectClassDescriptions(i int) IObjectClassDescriptionsContext
	AllDITContentRuleDescriptions() []IDITContentRuleDescriptionsContext
	DITContentRuleDescriptions(i int) IDITContentRuleDescriptionsContext
	AllNameFormDescriptions() []INameFormDescriptionsContext
	NameFormDescriptions(i int) INameFormDescriptionsContext
	AllDITStructureRuleDescriptions() []IDITStructureRuleDescriptionsContext
	DITStructureRuleDescriptions(i int) IDITStructureRuleDescriptionsContext

	// IsDefinitionsContext differentiates from other interfaces.
	IsDefinitionsContext()
}

IDefinitionsContext is an interface to support dynamic dispatch.

type IDescriptionContext

type IDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	QuotedString() IQuotedStringContext
	QuotedDescriptor() IQuotedDescriptorContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsDescriptionContext differentiates from other interfaces.
	IsDescriptionContext()
}

IDescriptionContext is an interface to support dynamic dispatch.

type IDescriptorContext

type IDescriptorContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Descr() antlr.TerminalNode
	NFLabel() antlr.TerminalNode
	LSLabel() antlr.TerminalNode
	MRLabel() antlr.TerminalNode
	MULabel() antlr.TerminalNode
	ATLabel() antlr.TerminalNode
	OCLabel() antlr.TerminalNode
	DCLabel() antlr.TerminalNode
	DSLabel() antlr.TerminalNode

	// IsDescriptorContext differentiates from other interfaces.
	IsDescriptorContext()
}

IDescriptorContext is an interface to support dynamic dispatch.

type IDirectoryOperationContext

type IDirectoryOperationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsDirectoryOperationContext differentiates from other interfaces.
	IsDirectoryOperationContext()
}

IDirectoryOperationContext is an interface to support dynamic dispatch.

type IDistributedOperationContext

type IDistributedOperationContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsDistributedOperationContext differentiates from other interfaces.
	IsDistributedOperationContext()
}

IDistributedOperationContext is an interface to support dynamic dispatch.

type IEqualityContext

type IEqualityContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsEqualityContext differentiates from other interfaces.
	IsEqualityContext()
}

IEqualityContext is an interface to support dynamic dispatch.

type IExtensionContext

type IExtensionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	XString() antlr.TerminalNode
	AllExtensionValue() []IExtensionValueContext
	ExtensionValue(i int) IExtensionValueContext
	OpenParen() IOpenParenContext
	CloseParen() ICloseParenContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode

	// IsExtensionContext differentiates from other interfaces.
	IsExtensionContext()
}

IExtensionContext is an interface to support dynamic dispatch.

type IExtensionValueContext

type IExtensionValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	QuotedString() IQuotedStringContext
	QuotedDescriptor() IQuotedDescriptorContext

	// IsExtensionValueContext differentiates from other interfaces.
	IsExtensionValueContext()
}

IExtensionValueContext is an interface to support dynamic dispatch.

type IExtensionsContext

type IExtensionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllExtension() []IExtensionContext
	Extension(i int) IExtensionContext

	// IsExtensionsContext differentiates from other interfaces.
	IsExtensionsContext()
}

IExtensionsContext is an interface to support dynamic dispatch.

type IFileparseContext

type IFileparseContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Definitions() IDefinitionsContext
	EOF() antlr.TerminalNode
	NEWLINE() antlr.TerminalNode
	LineComment() antlr.TerminalNode
	SchemaDN() ISchemaDNContext

	// IsFileparseContext differentiates from other interfaces.
	IsFileparseContext()
}

IFileparseContext is an interface to support dynamic dispatch.

type IFormContext

type IFormContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsFormContext differentiates from other interfaces.
	IsFormContext()
}

IFormContext is an interface to support dynamic dispatch.

type IImmutabilityContext

type IImmutabilityContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsImmutabilityContext differentiates from other interfaces.
	IsImmutabilityContext()
}

IImmutabilityContext is an interface to support dynamic dispatch.

type IKindContext

type IKindContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	StructuralKind() IStructuralKindContext
	AuxiliaryKind() IAuxiliaryKindContext
	AbstractKind() IAbstractKindContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsKindContext differentiates from other interfaces.
	IsKindContext()
}

IKindContext is an interface to support dynamic dispatch.

type ILDAPSyntaxDescriptionContext

type ILDAPSyntaxDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	NumericOIDOrMacro() INumericOIDOrMacroContext
	CloseParen() ICloseParenContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	Description() IDescriptionContext
	Extensions() IExtensionsContext

	// IsLDAPSyntaxDescriptionContext differentiates from other interfaces.
	IsLDAPSyntaxDescriptionContext()
}

ILDAPSyntaxDescriptionContext is an interface to support dynamic dispatch.

type ILDAPSyntaxDescriptionsContext

type ILDAPSyntaxDescriptionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllLDAPSyntaxLabel() []ILDAPSyntaxLabelContext
	LDAPSyntaxLabel(i int) ILDAPSyntaxLabelContext
	AllLDAPSyntaxDescription() []ILDAPSyntaxDescriptionContext
	LDAPSyntaxDescription(i int) ILDAPSyntaxDescriptionContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllEOF() []antlr.TerminalNode
	EOF(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsLDAPSyntaxDescriptionsContext differentiates from other interfaces.
	IsLDAPSyntaxDescriptionsContext()
}

ILDAPSyntaxDescriptionsContext is an interface to support dynamic dispatch.

type ILDAPSyntaxLabelContext

type ILDAPSyntaxLabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	LSLabel() antlr.TerminalNode
	DefinitionLabelDelim() IDefinitionLabelDelimContext

	// IsLDAPSyntaxLabelContext differentiates from other interfaces.
	IsLDAPSyntaxLabelContext()
}

ILDAPSyntaxLabelContext is an interface to support dynamic dispatch.

type IMacroContext

type IMacroContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Descriptor() IDescriptorContext
	MacroSuffix() IMacroSuffixContext

	// IsMacroContext differentiates from other interfaces.
	IsMacroContext()
}

IMacroContext is an interface to support dynamic dispatch.

type IMacroSuffixContext

type IMacroSuffixContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	MacroSuffix() antlr.TerminalNode

	// IsMacroSuffixContext differentiates from other interfaces.
	IsMacroSuffixContext()
}

IMacroSuffixContext is an interface to support dynamic dispatch.

type IMatchingRuleDescriptionContext

type IMatchingRuleDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	NumericOIDOrMacro() INumericOIDOrMacroContext
	Syntax() ISyntaxContext
	CloseParen() ICloseParenContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	Extensions() IExtensionsContext
	AllName() []INameContext
	Name(i int) INameContext
	AllDescription() []IDescriptionContext
	Description(i int) IDescriptionContext
	AllObsolescence() []IObsolescenceContext
	Obsolescence(i int) IObsolescenceContext

	// IsMatchingRuleDescriptionContext differentiates from other interfaces.
	IsMatchingRuleDescriptionContext()
}

IMatchingRuleDescriptionContext is an interface to support dynamic dispatch.

type IMatchingRuleDescriptionsContext

type IMatchingRuleDescriptionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllMatchingRuleLabel() []IMatchingRuleLabelContext
	MatchingRuleLabel(i int) IMatchingRuleLabelContext
	AllMatchingRuleDescription() []IMatchingRuleDescriptionContext
	MatchingRuleDescription(i int) IMatchingRuleDescriptionContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllEOF() []antlr.TerminalNode
	EOF(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsMatchingRuleDescriptionsContext differentiates from other interfaces.
	IsMatchingRuleDescriptionsContext()
}

IMatchingRuleDescriptionsContext is an interface to support dynamic dispatch.

type IMatchingRuleLabelContext

type IMatchingRuleLabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	MRLabel() antlr.TerminalNode
	DefinitionLabelDelim() IDefinitionLabelDelimContext

	// IsMatchingRuleLabelContext differentiates from other interfaces.
	IsMatchingRuleLabelContext()
}

IMatchingRuleLabelContext is an interface to support dynamic dispatch.

type IMatchingRuleUseDescriptionContext

type IMatchingRuleUseDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	NumericOIDOrMacro() INumericOIDOrMacroContext
	Applies() IAppliesContext
	CloseParen() ICloseParenContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	Extensions() IExtensionsContext
	AllName() []INameContext
	Name(i int) INameContext
	AllDescription() []IDescriptionContext
	Description(i int) IDescriptionContext
	AllObsolescence() []IObsolescenceContext
	Obsolescence(i int) IObsolescenceContext

	// IsMatchingRuleUseDescriptionContext differentiates from other interfaces.
	IsMatchingRuleUseDescriptionContext()
}

IMatchingRuleUseDescriptionContext is an interface to support dynamic dispatch.

type IMatchingRuleUseDescriptionsContext

type IMatchingRuleUseDescriptionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllMatchingRuleUseLabel() []IMatchingRuleUseLabelContext
	MatchingRuleUseLabel(i int) IMatchingRuleUseLabelContext
	AllMatchingRuleUseDescription() []IMatchingRuleUseDescriptionContext
	MatchingRuleUseDescription(i int) IMatchingRuleUseDescriptionContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllEOF() []antlr.TerminalNode
	EOF(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsMatchingRuleUseDescriptionsContext differentiates from other interfaces.
	IsMatchingRuleUseDescriptionsContext()
}

IMatchingRuleUseDescriptionsContext is an interface to support dynamic dispatch.

type IMatchingRuleUseLabelContext

type IMatchingRuleUseLabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	MULabel() antlr.TerminalNode
	DefinitionLabelDelim() IDefinitionLabelDelimContext

	// IsMatchingRuleUseLabelContext differentiates from other interfaces.
	IsMatchingRuleUseLabelContext()
}

IMatchingRuleUseLabelContext is an interface to support dynamic dispatch.

type IMayContext

type IMayContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	OIDs() IOIDsContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsMayContext differentiates from other interfaces.
	IsMayContext()
}

IMayContext is an interface to support dynamic dispatch.

type IMinUpperBoundsContext

type IMinUpperBoundsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	MUB() antlr.TerminalNode

	// IsMinUpperBoundsContext differentiates from other interfaces.
	IsMinUpperBoundsContext()
}

IMinUpperBoundsContext is an interface to support dynamic dispatch.

type IMustContext

type IMustContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	OIDs() IOIDsContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsMustContext differentiates from other interfaces.
	IsMustContext()
}

IMustContext is an interface to support dynamic dispatch.

type INameContext

type INameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Names() INamesContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsNameContext differentiates from other interfaces.
	IsNameContext()
}

INameContext is an interface to support dynamic dispatch.

type INameFormDescriptionContext

type INameFormDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	NumericOIDOrMacro() INumericOIDOrMacroContext
	CloseParen() ICloseParenContext
	StructuralClass() IStructuralClassContext
	Must() IMustContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	May() IMayContext
	Extensions() IExtensionsContext
	AllName() []INameContext
	Name(i int) INameContext
	AllDescription() []IDescriptionContext
	Description(i int) IDescriptionContext
	AllObsolescence() []IObsolescenceContext
	Obsolescence(i int) IObsolescenceContext

	// IsNameFormDescriptionContext differentiates from other interfaces.
	IsNameFormDescriptionContext()
}

INameFormDescriptionContext is an interface to support dynamic dispatch.

type INameFormDescriptionsContext

type INameFormDescriptionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllNameFormLabel() []INameFormLabelContext
	NameFormLabel(i int) INameFormLabelContext
	AllNameFormDescription() []INameFormDescriptionContext
	NameFormDescription(i int) INameFormDescriptionContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllEOF() []antlr.TerminalNode
	EOF(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsNameFormDescriptionsContext differentiates from other interfaces.
	IsNameFormDescriptionsContext()
}

INameFormDescriptionsContext is an interface to support dynamic dispatch.

type INameFormLabelContext

type INameFormLabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	NFLabel() antlr.TerminalNode
	DefinitionLabelDelim() IDefinitionLabelDelimContext

	// IsNameFormLabelContext differentiates from other interfaces.
	IsNameFormLabelContext()
}

INameFormLabelContext is an interface to support dynamic dispatch.

type INamesContext

type INamesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllQuotedDescriptor() []IQuotedDescriptorContext
	QuotedDescriptor(i int) IQuotedDescriptorContext
	OpenParen() IOpenParenContext
	CloseParen() ICloseParenContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode

	// IsNamesContext differentiates from other interfaces.
	IsNamesContext()
}

INamesContext is an interface to support dynamic dispatch.

type INotContext

type INotContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	OIDs() IOIDsContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsNotContext differentiates from other interfaces.
	IsNotContext()
}

INotContext is an interface to support dynamic dispatch.

type INumberContext

type INumberContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Digit() antlr.TerminalNode

	// IsNumberContext differentiates from other interfaces.
	IsNumberContext()
}

INumberContext is an interface to support dynamic dispatch.

type INumericOIDContext

type INumericOIDContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	NumOID() antlr.TerminalNode

	// IsNumericOIDContext differentiates from other interfaces.
	IsNumericOIDContext()
}

INumericOIDContext is an interface to support dynamic dispatch.

type INumericOIDOrMacroContext

type INumericOIDOrMacroContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Macro() IMacroContext
	NumericOID() INumericOIDContext

	// IsNumericOIDOrMacroContext differentiates from other interfaces.
	IsNumericOIDOrMacroContext()
}

INumericOIDOrMacroContext is an interface to support dynamic dispatch.

type IOIDContext

type IOIDContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Descriptor() IDescriptorContext
	NumericOID() INumericOIDContext

	// IsOIDContext differentiates from other interfaces.
	IsOIDContext()
}

IOIDContext is an interface to support dynamic dispatch.

type IOIDsContext

type IOIDsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	AllOID() []IOIDContext
	OID(i int) IOIDContext
	CloseParen() ICloseParenContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllODelim() []antlr.TerminalNode
	ODelim(i int) antlr.TerminalNode

	// IsOIDsContext differentiates from other interfaces.
	IsOIDsContext()
}

IOIDsContext is an interface to support dynamic dispatch.

type IObjectClassDescriptionContext

type IObjectClassDescriptionContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	NumericOIDOrMacro() INumericOIDOrMacroContext
	CloseParen() ICloseParenContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	Extensions() IExtensionsContext
	AllName() []INameContext
	Name(i int) INameContext
	AllDescription() []IDescriptionContext
	Description(i int) IDescriptionContext
	AllObsolescence() []IObsolescenceContext
	Obsolescence(i int) IObsolescenceContext
	AllSuperClasses() []ISuperClassesContext
	SuperClasses(i int) ISuperClassesContext
	AllKind() []IKindContext
	Kind(i int) IKindContext
	AllMust() []IMustContext
	Must(i int) IMustContext
	AllMay() []IMayContext
	May(i int) IMayContext

	// IsObjectClassDescriptionContext differentiates from other interfaces.
	IsObjectClassDescriptionContext()
}

IObjectClassDescriptionContext is an interface to support dynamic dispatch.

type IObjectClassDescriptionsContext

type IObjectClassDescriptionsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllObjectClassLabel() []IObjectClassLabelContext
	ObjectClassLabel(i int) IObjectClassLabelContext
	AllObjectClassDescription() []IObjectClassDescriptionContext
	ObjectClassDescription(i int) IObjectClassDescriptionContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllEOF() []antlr.TerminalNode
	EOF(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsObjectClassDescriptionsContext differentiates from other interfaces.
	IsObjectClassDescriptionsContext()
}

IObjectClassDescriptionsContext is an interface to support dynamic dispatch.

type IObjectClassLabelContext

type IObjectClassLabelContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OCLabel() antlr.TerminalNode
	DefinitionLabelDelim() IDefinitionLabelDelimContext

	// IsObjectClassLabelContext differentiates from other interfaces.
	IsObjectClassLabelContext()
}

IObjectClassLabelContext is an interface to support dynamic dispatch.

type IObjectIdentifierContext

type IObjectIdentifierContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllObjectIdentifierOIDOrName() []IObjectIdentifierOIDOrNameContext
	ObjectIdentifierOIDOrName(i int) IObjectIdentifierOIDOrNameContext
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode
	AllEOF() []antlr.TerminalNode
	EOF(i int) antlr.TerminalNode
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsObjectIdentifierContext differentiates from other interfaces.
	IsObjectIdentifierContext()
}

IObjectIdentifierContext is an interface to support dynamic dispatch.

type IObjectIdentifierOIDOrNameContext

type IObjectIdentifierOIDOrNameContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Descriptor() IDescriptorContext
	NumericOIDOrMacro() INumericOIDOrMacroContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsObjectIdentifierOIDOrNameContext differentiates from other interfaces.
	IsObjectIdentifierOIDOrNameContext()
}

IObjectIdentifierOIDOrNameContext is an interface to support dynamic dispatch.

type IObsolescenceContext

type IObsolescenceContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsObsolescenceContext differentiates from other interfaces.
	IsObsolescenceContext()
}

IObsolescenceContext is an interface to support dynamic dispatch.

type IOpenParenContext

type IOpenParenContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParenthesis() antlr.TerminalNode

	// IsOpenParenContext differentiates from other interfaces.
	IsOpenParenContext()
}

IOpenParenContext is an interface to support dynamic dispatch.

type IOrderingContext

type IOrderingContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsOrderingContext differentiates from other interfaces.
	IsOrderingContext()
}

IOrderingContext is an interface to support dynamic dispatch.

type IQuotedDescriptorContext

type IQuotedDescriptorContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	QDescr() antlr.TerminalNode

	// IsQuotedDescriptorContext differentiates from other interfaces.
	IsQuotedDescriptorContext()
}

IQuotedDescriptorContext is an interface to support dynamic dispatch.

type IQuotedStringContext

type IQuotedStringContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	QString() antlr.TerminalNode

	// IsQuotedStringContext differentiates from other interfaces.
	IsQuotedStringContext()
}

IQuotedStringContext is an interface to support dynamic dispatch.

type ISchemaDNContext

type ISchemaDNContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	DistinguishedName() antlr.TerminalNode

	// IsSchemaDNContext differentiates from other interfaces.
	IsSchemaDNContext()
}

ISchemaDNContext is an interface to support dynamic dispatch.

type ISingleValueContext

type ISingleValueContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsSingleValueContext differentiates from other interfaces.
	IsSingleValueContext()
}

ISingleValueContext is an interface to support dynamic dispatch.

type IStructuralClassContext

type IStructuralClassContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsStructuralClassContext differentiates from other interfaces.
	IsStructuralClassContext()
}

IStructuralClassContext is an interface to support dynamic dispatch.

type IStructuralKindContext

type IStructuralKindContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsStructuralKindContext differentiates from other interfaces.
	IsStructuralKindContext()
}

IStructuralKindContext is an interface to support dynamic dispatch.

type IStructureRuleContext

type IStructureRuleContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Number() INumberContext

	// IsStructureRuleContext differentiates from other interfaces.
	IsStructureRuleContext()
}

IStructureRuleContext is an interface to support dynamic dispatch.

type IStructureRulesContext

type IStructureRulesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OpenParen() IOpenParenContext
	AllStructureRule() []IStructureRuleContext
	StructureRule(i int) IStructureRuleContext
	CloseParen() ICloseParenContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode
	AllLineComment() []antlr.TerminalNode
	LineComment(i int) antlr.TerminalNode
	AllNEWLINE() []antlr.TerminalNode
	NEWLINE(i int) antlr.TerminalNode

	// IsStructureRulesContext differentiates from other interfaces.
	IsStructureRulesContext()
}

IStructureRulesContext is an interface to support dynamic dispatch.

type ISubstrContext

type ISubstrContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsSubstrContext differentiates from other interfaces.
	IsSubstrContext()
}

ISubstrContext is an interface to support dynamic dispatch.

type ISuperClassesContext

type ISuperClassesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	OIDs() IOIDsContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsSuperClassesContext differentiates from other interfaces.
	IsSuperClassesContext()
}

ISuperClassesContext is an interface to support dynamic dispatch.

type ISuperRulesContext

type ISuperRulesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	StructureRule() IStructureRuleContext
	StructureRules() IStructureRulesContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsSuperRulesContext differentiates from other interfaces.
	IsSuperRulesContext()
}

ISuperRulesContext is an interface to support dynamic dispatch.

type ISuperTypeContext

type ISuperTypeContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	OID() IOIDContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsSuperTypeContext differentiates from other interfaces.
	IsSuperTypeContext()
}

ISuperTypeContext is an interface to support dynamic dispatch.

type ISyntaxContext

type ISyntaxContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	NumericOID() INumericOIDContext
	QuotedDescriptor() IQuotedDescriptorContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsSyntaxContext differentiates from other interfaces.
	IsSyntaxContext()
}

ISyntaxContext is an interface to support dynamic dispatch.

type IUsageContext

type IUsageContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	Usages() IUsagesContext
	AllSP() []antlr.TerminalNode
	SP(i int) antlr.TerminalNode

	// IsUsageContext differentiates from other interfaces.
	IsUsageContext()
}

IUsageContext is an interface to support dynamic dispatch.

type IUsagesContext

type IUsagesContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// Getter signatures
	UserApplications() IUserApplicationsContext
	DirectoryOperation() IDirectoryOperationContext
	DistributedOperation() IDistributedOperationContext
	DSAOperation() IDSAOperationContext

	// IsUsagesContext differentiates from other interfaces.
	IsUsagesContext()
}

IUsagesContext is an interface to support dynamic dispatch.

type IUserApplicationsContext added in v1.0.1

type IUserApplicationsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser
	// IsUserApplicationsContext differentiates from other interfaces.
	IsUserApplicationsContext()
}

IUserApplicationsContext is an interface to support dynamic dispatch.

type ImmutabilityContext

type ImmutabilityContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyImmutabilityContext

func NewEmptyImmutabilityContext() *ImmutabilityContext

func NewImmutabilityContext

func NewImmutabilityContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImmutabilityContext

func (*ImmutabilityContext) AllSP

func (s *ImmutabilityContext) AllSP() []antlr.TerminalNode

func (*ImmutabilityContext) GetParser

func (s *ImmutabilityContext) GetParser() antlr.Parser

func (*ImmutabilityContext) GetRuleContext

func (s *ImmutabilityContext) GetRuleContext() antlr.RuleContext

func (*ImmutabilityContext) IsImmutabilityContext

func (*ImmutabilityContext) IsImmutabilityContext()

func (*ImmutabilityContext) SP

func (s *ImmutabilityContext) SP(i int) antlr.TerminalNode

func (*ImmutabilityContext) ToStringTree

func (s *ImmutabilityContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type Instance

type Instance struct {
	P *RFC4512Parser
	L *RFC4512Lexer
	// contains filtered or unexported fields
}

Instance contain tokenized content following a successful parse of any "thing" in its complete form.

The P field contains an instance of *RFC4512Parser. The L field contains an instance of *RFC4512Lexer.

func ParseInstance

func ParseInstance(raw string, stdErr ...bool) (r Instance, err error)

ParseInstance returns a new instance of Instance, alongside an error, following an attempt to parse raw. The stdErr variadic bool allows for the ability to toggle stdErr error dispatching. The default is to handle errors in the standard idiomatic way (recommended).

func (Instance) Error

func (r Instance) Error() (err error)

Instance returns an error instance based on any parser and/or lexer errors that transpire during processing of the tokenized value.

Once accessed, error content is cleared from the receiver.

type KindContext

type KindContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyKindContext

func NewEmptyKindContext() *KindContext

func NewKindContext

func NewKindContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *KindContext

func (*KindContext) AbstractKind

func (s *KindContext) AbstractKind() IAbstractKindContext

func (*KindContext) AllSP

func (s *KindContext) AllSP() []antlr.TerminalNode

func (*KindContext) AuxiliaryKind

func (s *KindContext) AuxiliaryKind() IAuxiliaryKindContext

func (*KindContext) GetParser

func (s *KindContext) GetParser() antlr.Parser

func (*KindContext) GetRuleContext

func (s *KindContext) GetRuleContext() antlr.RuleContext

func (*KindContext) IsKindContext

func (*KindContext) IsKindContext()

func (*KindContext) SP

func (s *KindContext) SP(i int) antlr.TerminalNode

func (*KindContext) StructuralKind

func (s *KindContext) StructuralKind() IStructuralKindContext

func (*KindContext) ToStringTree

func (s *KindContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LDAPSyntax

type LDAPSyntax struct {
	OID        string
	Macro      []string
	Desc       string
	Extensions map[string][]string
}

LDAPSyntax implements RFC 4512 Section 4.1.5.

func ParseLDAPSyntax

func ParseLDAPSyntax(raw string) (ls LDAPSyntax, err error)

ParseLDAPSyntax processes raw into an instance of LDAPSyntax, which is returned alongside an error.

type LDAPSyntaxDescriptionContext

type LDAPSyntaxDescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLDAPSyntaxDescriptionContext

func NewEmptyLDAPSyntaxDescriptionContext() *LDAPSyntaxDescriptionContext

func NewLDAPSyntaxDescriptionContext

func NewLDAPSyntaxDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LDAPSyntaxDescriptionContext

func (*LDAPSyntaxDescriptionContext) AllLineComment

func (s *LDAPSyntaxDescriptionContext) AllLineComment() []antlr.TerminalNode

func (*LDAPSyntaxDescriptionContext) AllNEWLINE

func (s *LDAPSyntaxDescriptionContext) AllNEWLINE() []antlr.TerminalNode

func (*LDAPSyntaxDescriptionContext) AllSP

func (s *LDAPSyntaxDescriptionContext) AllSP() []antlr.TerminalNode

func (*LDAPSyntaxDescriptionContext) CloseParen

func (*LDAPSyntaxDescriptionContext) Description

func (*LDAPSyntaxDescriptionContext) Extensions

func (*LDAPSyntaxDescriptionContext) GetParser

func (s *LDAPSyntaxDescriptionContext) GetParser() antlr.Parser

func (*LDAPSyntaxDescriptionContext) GetRuleContext

func (s *LDAPSyntaxDescriptionContext) GetRuleContext() antlr.RuleContext

func (*LDAPSyntaxDescriptionContext) IsLDAPSyntaxDescriptionContext

func (*LDAPSyntaxDescriptionContext) IsLDAPSyntaxDescriptionContext()

func (*LDAPSyntaxDescriptionContext) LineComment

func (s *LDAPSyntaxDescriptionContext) LineComment(i int) antlr.TerminalNode

func (*LDAPSyntaxDescriptionContext) NEWLINE

func (s *LDAPSyntaxDescriptionContext) NEWLINE(i int) antlr.TerminalNode

func (*LDAPSyntaxDescriptionContext) NumericOIDOrMacro added in v1.0.1

func (*LDAPSyntaxDescriptionContext) OpenParen

func (*LDAPSyntaxDescriptionContext) SP

func (s *LDAPSyntaxDescriptionContext) SP(i int) antlr.TerminalNode

func (*LDAPSyntaxDescriptionContext) ToStringTree

func (s *LDAPSyntaxDescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LDAPSyntaxDescriptionsContext

type LDAPSyntaxDescriptionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLDAPSyntaxDescriptionsContext

func NewEmptyLDAPSyntaxDescriptionsContext() *LDAPSyntaxDescriptionsContext

func NewLDAPSyntaxDescriptionsContext

func NewLDAPSyntaxDescriptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LDAPSyntaxDescriptionsContext

func (*LDAPSyntaxDescriptionsContext) AllEOF

func (s *LDAPSyntaxDescriptionsContext) AllEOF() []antlr.TerminalNode

func (*LDAPSyntaxDescriptionsContext) AllLDAPSyntaxDescription

func (s *LDAPSyntaxDescriptionsContext) AllLDAPSyntaxDescription() []ILDAPSyntaxDescriptionContext

func (*LDAPSyntaxDescriptionsContext) AllLDAPSyntaxLabel

func (s *LDAPSyntaxDescriptionsContext) AllLDAPSyntaxLabel() []ILDAPSyntaxLabelContext

func (*LDAPSyntaxDescriptionsContext) AllNEWLINE

func (s *LDAPSyntaxDescriptionsContext) AllNEWLINE() []antlr.TerminalNode

func (*LDAPSyntaxDescriptionsContext) AllSP

func (s *LDAPSyntaxDescriptionsContext) AllSP() []antlr.TerminalNode

func (*LDAPSyntaxDescriptionsContext) EOF

func (s *LDAPSyntaxDescriptionsContext) EOF(i int) antlr.TerminalNode

func (*LDAPSyntaxDescriptionsContext) GetParser

func (s *LDAPSyntaxDescriptionsContext) GetParser() antlr.Parser

func (*LDAPSyntaxDescriptionsContext) GetRuleContext

func (s *LDAPSyntaxDescriptionsContext) GetRuleContext() antlr.RuleContext

func (*LDAPSyntaxDescriptionsContext) IsLDAPSyntaxDescriptionsContext

func (*LDAPSyntaxDescriptionsContext) IsLDAPSyntaxDescriptionsContext()

func (*LDAPSyntaxDescriptionsContext) LDAPSyntaxDescription

func (*LDAPSyntaxDescriptionsContext) LDAPSyntaxLabel

func (*LDAPSyntaxDescriptionsContext) NEWLINE

func (s *LDAPSyntaxDescriptionsContext) NEWLINE(i int) antlr.TerminalNode

func (*LDAPSyntaxDescriptionsContext) SP

func (s *LDAPSyntaxDescriptionsContext) SP(i int) antlr.TerminalNode

func (*LDAPSyntaxDescriptionsContext) ToStringTree

func (s *LDAPSyntaxDescriptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LDAPSyntaxLabelContext

type LDAPSyntaxLabelContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyLDAPSyntaxLabelContext

func NewEmptyLDAPSyntaxLabelContext() *LDAPSyntaxLabelContext

func NewLDAPSyntaxLabelContext

func NewLDAPSyntaxLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LDAPSyntaxLabelContext

func (*LDAPSyntaxLabelContext) DefinitionLabelDelim

func (s *LDAPSyntaxLabelContext) DefinitionLabelDelim() IDefinitionLabelDelimContext

func (*LDAPSyntaxLabelContext) GetParser

func (s *LDAPSyntaxLabelContext) GetParser() antlr.Parser

func (*LDAPSyntaxLabelContext) GetRuleContext

func (s *LDAPSyntaxLabelContext) GetRuleContext() antlr.RuleContext

func (*LDAPSyntaxLabelContext) IsLDAPSyntaxLabelContext

func (*LDAPSyntaxLabelContext) IsLDAPSyntaxLabelContext()

func (*LDAPSyntaxLabelContext) LSLabel

func (s *LDAPSyntaxLabelContext) LSLabel() antlr.TerminalNode

func (*LDAPSyntaxLabelContext) ToStringTree

func (s *LDAPSyntaxLabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type LDAPSyntaxes

type LDAPSyntaxes []LDAPSyntax

LDAPSyntaxes is an instance of slices of LDAPSyntax instances.

type MacroContext

type MacroContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMacroContext

func NewEmptyMacroContext() *MacroContext

func NewMacroContext

func NewMacroContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MacroContext

func (*MacroContext) Descriptor

func (s *MacroContext) Descriptor() IDescriptorContext

func (*MacroContext) GetParser

func (s *MacroContext) GetParser() antlr.Parser

func (*MacroContext) GetRuleContext

func (s *MacroContext) GetRuleContext() antlr.RuleContext

func (*MacroContext) IsMacroContext

func (*MacroContext) IsMacroContext()

func (*MacroContext) MacroSuffix

func (s *MacroContext) MacroSuffix() IMacroSuffixContext

func (*MacroContext) ToStringTree

func (s *MacroContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MacroSuffixContext

type MacroSuffixContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMacroSuffixContext

func NewEmptyMacroSuffixContext() *MacroSuffixContext

func NewMacroSuffixContext

func NewMacroSuffixContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MacroSuffixContext

func (*MacroSuffixContext) GetParser

func (s *MacroSuffixContext) GetParser() antlr.Parser

func (*MacroSuffixContext) GetRuleContext

func (s *MacroSuffixContext) GetRuleContext() antlr.RuleContext

func (*MacroSuffixContext) IsMacroSuffixContext

func (*MacroSuffixContext) IsMacroSuffixContext()

func (*MacroSuffixContext) MacroSuffix

func (s *MacroSuffixContext) MacroSuffix() antlr.TerminalNode

func (*MacroSuffixContext) ToStringTree

func (s *MacroSuffixContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type Macros

type Macros map[string]string

Macros contains a manifest of name to oid/name pairs, each describing a resolution path for oid/name into a distinct OID reference.

type MatchingRule

type MatchingRule struct {
	OID        string
	Macro      []string
	Name       []string
	Desc       string
	Obsolete   bool
	Syntax     string
	Extensions map[string][]string
}

MatchingRule implements RFC 4512 Section 4.1.3.

func ParseMatchingRule

func ParseMatchingRule(raw string) (mr MatchingRule, err error)

ParseMatchingRule processes raw into an instance of MatchingRule, which is returned alongside an error.

type MatchingRuleDescriptionContext

type MatchingRuleDescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMatchingRuleDescriptionContext

func NewEmptyMatchingRuleDescriptionContext() *MatchingRuleDescriptionContext

func NewMatchingRuleDescriptionContext

func NewMatchingRuleDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MatchingRuleDescriptionContext

func (*MatchingRuleDescriptionContext) AllDescription

func (*MatchingRuleDescriptionContext) AllLineComment

func (s *MatchingRuleDescriptionContext) AllLineComment() []antlr.TerminalNode

func (*MatchingRuleDescriptionContext) AllNEWLINE

func (s *MatchingRuleDescriptionContext) AllNEWLINE() []antlr.TerminalNode

func (*MatchingRuleDescriptionContext) AllName

func (*MatchingRuleDescriptionContext) AllObsolescence

func (*MatchingRuleDescriptionContext) AllSP

func (s *MatchingRuleDescriptionContext) AllSP() []antlr.TerminalNode

func (*MatchingRuleDescriptionContext) CloseParen

func (*MatchingRuleDescriptionContext) Description

func (*MatchingRuleDescriptionContext) Extensions

func (*MatchingRuleDescriptionContext) GetParser

func (s *MatchingRuleDescriptionContext) GetParser() antlr.Parser

func (*MatchingRuleDescriptionContext) GetRuleContext

func (s *MatchingRuleDescriptionContext) GetRuleContext() antlr.RuleContext

func (*MatchingRuleDescriptionContext) IsMatchingRuleDescriptionContext

func (*MatchingRuleDescriptionContext) IsMatchingRuleDescriptionContext()

func (*MatchingRuleDescriptionContext) LineComment

func (s *MatchingRuleDescriptionContext) LineComment(i int) antlr.TerminalNode

func (*MatchingRuleDescriptionContext) NEWLINE

func (s *MatchingRuleDescriptionContext) NEWLINE(i int) antlr.TerminalNode

func (*MatchingRuleDescriptionContext) Name

func (*MatchingRuleDescriptionContext) NumericOIDOrMacro added in v1.0.1

func (*MatchingRuleDescriptionContext) Obsolescence

func (*MatchingRuleDescriptionContext) OpenParen

func (*MatchingRuleDescriptionContext) SP

func (s *MatchingRuleDescriptionContext) SP(i int) antlr.TerminalNode

func (*MatchingRuleDescriptionContext) Syntax

func (*MatchingRuleDescriptionContext) ToStringTree

func (s *MatchingRuleDescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MatchingRuleDescriptionsContext

type MatchingRuleDescriptionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMatchingRuleDescriptionsContext

func NewEmptyMatchingRuleDescriptionsContext() *MatchingRuleDescriptionsContext

func NewMatchingRuleDescriptionsContext

func NewMatchingRuleDescriptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MatchingRuleDescriptionsContext

func (*MatchingRuleDescriptionsContext) AllEOF

func (s *MatchingRuleDescriptionsContext) AllEOF() []antlr.TerminalNode

func (*MatchingRuleDescriptionsContext) AllMatchingRuleDescription

func (s *MatchingRuleDescriptionsContext) AllMatchingRuleDescription() []IMatchingRuleDescriptionContext

func (*MatchingRuleDescriptionsContext) AllMatchingRuleLabel

func (s *MatchingRuleDescriptionsContext) AllMatchingRuleLabel() []IMatchingRuleLabelContext

func (*MatchingRuleDescriptionsContext) AllNEWLINE

func (s *MatchingRuleDescriptionsContext) AllNEWLINE() []antlr.TerminalNode

func (*MatchingRuleDescriptionsContext) AllSP

func (s *MatchingRuleDescriptionsContext) AllSP() []antlr.TerminalNode

func (*MatchingRuleDescriptionsContext) EOF

func (s *MatchingRuleDescriptionsContext) EOF(i int) antlr.TerminalNode

func (*MatchingRuleDescriptionsContext) GetParser

func (s *MatchingRuleDescriptionsContext) GetParser() antlr.Parser

func (*MatchingRuleDescriptionsContext) GetRuleContext

func (s *MatchingRuleDescriptionsContext) GetRuleContext() antlr.RuleContext

func (*MatchingRuleDescriptionsContext) IsMatchingRuleDescriptionsContext

func (*MatchingRuleDescriptionsContext) IsMatchingRuleDescriptionsContext()

func (*MatchingRuleDescriptionsContext) MatchingRuleDescription

func (*MatchingRuleDescriptionsContext) MatchingRuleLabel

func (*MatchingRuleDescriptionsContext) NEWLINE

func (s *MatchingRuleDescriptionsContext) NEWLINE(i int) antlr.TerminalNode

func (*MatchingRuleDescriptionsContext) SP

func (s *MatchingRuleDescriptionsContext) SP(i int) antlr.TerminalNode

func (*MatchingRuleDescriptionsContext) ToStringTree

func (s *MatchingRuleDescriptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MatchingRuleLabelContext

type MatchingRuleLabelContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMatchingRuleLabelContext

func NewEmptyMatchingRuleLabelContext() *MatchingRuleLabelContext

func NewMatchingRuleLabelContext

func NewMatchingRuleLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MatchingRuleLabelContext

func (*MatchingRuleLabelContext) DefinitionLabelDelim

func (s *MatchingRuleLabelContext) DefinitionLabelDelim() IDefinitionLabelDelimContext

func (*MatchingRuleLabelContext) GetParser

func (s *MatchingRuleLabelContext) GetParser() antlr.Parser

func (*MatchingRuleLabelContext) GetRuleContext

func (s *MatchingRuleLabelContext) GetRuleContext() antlr.RuleContext

func (*MatchingRuleLabelContext) IsMatchingRuleLabelContext

func (*MatchingRuleLabelContext) IsMatchingRuleLabelContext()

func (*MatchingRuleLabelContext) MRLabel

func (s *MatchingRuleLabelContext) MRLabel() antlr.TerminalNode

func (*MatchingRuleLabelContext) ToStringTree

func (s *MatchingRuleLabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MatchingRuleUse

type MatchingRuleUse struct {
	OID        string
	Macro      []string
	Name       []string
	Desc       string
	Obsolete   bool
	Applies    []string
	Extensions map[string][]string
}

MatchingRuleUse implements RFC 4512 Section 4.1.4.

func ParseMatchingRuleUse

func ParseMatchingRuleUse(raw string) (mu MatchingRuleUse, err error)

ParseMatchingRuleUse processes raw into an instance of MatchingRuleUse. Note that it is unusual for this function to be used and exists mainly for the sake of completeness.

A MatchingRuleUse instance is simply a manifest of attributeType instances which utilize a given MatchingRule for EQUALITY, SUBSTR and ORDERING fields.

Generally, these MatchingRuleUse instances are created -- by the DSA -- based on equivalent MatchingRule instances, and only manifest when the number of "applied" AttributeType users is greater than zero (0) for the relevant MatchingRule.

In short, one generally need only load ldapSyntax, matchingRule and attributeType definitions to initialize or extend matchingRuleUse instances.

type MatchingRuleUseDescriptionContext

type MatchingRuleUseDescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMatchingRuleUseDescriptionContext

func NewEmptyMatchingRuleUseDescriptionContext() *MatchingRuleUseDescriptionContext

func NewMatchingRuleUseDescriptionContext

func NewMatchingRuleUseDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MatchingRuleUseDescriptionContext

func (*MatchingRuleUseDescriptionContext) AllDescription

func (*MatchingRuleUseDescriptionContext) AllLineComment

func (s *MatchingRuleUseDescriptionContext) AllLineComment() []antlr.TerminalNode

func (*MatchingRuleUseDescriptionContext) AllNEWLINE

func (s *MatchingRuleUseDescriptionContext) AllNEWLINE() []antlr.TerminalNode

func (*MatchingRuleUseDescriptionContext) AllName

func (*MatchingRuleUseDescriptionContext) AllObsolescence

func (*MatchingRuleUseDescriptionContext) AllSP

func (s *MatchingRuleUseDescriptionContext) AllSP() []antlr.TerminalNode

func (*MatchingRuleUseDescriptionContext) Applies

func (*MatchingRuleUseDescriptionContext) CloseParen

func (*MatchingRuleUseDescriptionContext) Description

func (*MatchingRuleUseDescriptionContext) Extensions

func (*MatchingRuleUseDescriptionContext) GetParser

func (s *MatchingRuleUseDescriptionContext) GetParser() antlr.Parser

func (*MatchingRuleUseDescriptionContext) GetRuleContext

func (s *MatchingRuleUseDescriptionContext) GetRuleContext() antlr.RuleContext

func (*MatchingRuleUseDescriptionContext) IsMatchingRuleUseDescriptionContext

func (*MatchingRuleUseDescriptionContext) IsMatchingRuleUseDescriptionContext()

func (*MatchingRuleUseDescriptionContext) LineComment

func (s *MatchingRuleUseDescriptionContext) LineComment(i int) antlr.TerminalNode

func (*MatchingRuleUseDescriptionContext) NEWLINE

func (s *MatchingRuleUseDescriptionContext) NEWLINE(i int) antlr.TerminalNode

func (*MatchingRuleUseDescriptionContext) Name

func (*MatchingRuleUseDescriptionContext) NumericOIDOrMacro added in v1.0.3

func (*MatchingRuleUseDescriptionContext) Obsolescence

func (*MatchingRuleUseDescriptionContext) OpenParen

func (*MatchingRuleUseDescriptionContext) SP

func (s *MatchingRuleUseDescriptionContext) SP(i int) antlr.TerminalNode

func (*MatchingRuleUseDescriptionContext) ToStringTree

func (s *MatchingRuleUseDescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MatchingRuleUseDescriptionsContext

type MatchingRuleUseDescriptionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMatchingRuleUseDescriptionsContext

func NewEmptyMatchingRuleUseDescriptionsContext() *MatchingRuleUseDescriptionsContext

func NewMatchingRuleUseDescriptionsContext

func NewMatchingRuleUseDescriptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MatchingRuleUseDescriptionsContext

func (*MatchingRuleUseDescriptionsContext) AllEOF

func (s *MatchingRuleUseDescriptionsContext) AllEOF() []antlr.TerminalNode

func (*MatchingRuleUseDescriptionsContext) AllMatchingRuleUseDescription

func (s *MatchingRuleUseDescriptionsContext) AllMatchingRuleUseDescription() []IMatchingRuleUseDescriptionContext

func (*MatchingRuleUseDescriptionsContext) AllMatchingRuleUseLabel

func (*MatchingRuleUseDescriptionsContext) AllNEWLINE

func (s *MatchingRuleUseDescriptionsContext) AllNEWLINE() []antlr.TerminalNode

func (*MatchingRuleUseDescriptionsContext) AllSP

func (s *MatchingRuleUseDescriptionsContext) AllSP() []antlr.TerminalNode

func (*MatchingRuleUseDescriptionsContext) EOF

func (s *MatchingRuleUseDescriptionsContext) EOF(i int) antlr.TerminalNode

func (*MatchingRuleUseDescriptionsContext) GetParser

func (s *MatchingRuleUseDescriptionsContext) GetParser() antlr.Parser

func (*MatchingRuleUseDescriptionsContext) GetRuleContext

func (s *MatchingRuleUseDescriptionsContext) GetRuleContext() antlr.RuleContext

func (*MatchingRuleUseDescriptionsContext) IsMatchingRuleUseDescriptionsContext

func (*MatchingRuleUseDescriptionsContext) IsMatchingRuleUseDescriptionsContext()

func (*MatchingRuleUseDescriptionsContext) MatchingRuleUseDescription

func (*MatchingRuleUseDescriptionsContext) MatchingRuleUseLabel

func (*MatchingRuleUseDescriptionsContext) NEWLINE

func (s *MatchingRuleUseDescriptionsContext) NEWLINE(i int) antlr.TerminalNode

func (*MatchingRuleUseDescriptionsContext) SP

func (s *MatchingRuleUseDescriptionsContext) SP(i int) antlr.TerminalNode

func (*MatchingRuleUseDescriptionsContext) ToStringTree

func (s *MatchingRuleUseDescriptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MatchingRuleUseLabelContext

type MatchingRuleUseLabelContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMatchingRuleUseLabelContext

func NewEmptyMatchingRuleUseLabelContext() *MatchingRuleUseLabelContext

func NewMatchingRuleUseLabelContext

func NewMatchingRuleUseLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MatchingRuleUseLabelContext

func (*MatchingRuleUseLabelContext) DefinitionLabelDelim

func (*MatchingRuleUseLabelContext) GetParser

func (s *MatchingRuleUseLabelContext) GetParser() antlr.Parser

func (*MatchingRuleUseLabelContext) GetRuleContext

func (s *MatchingRuleUseLabelContext) GetRuleContext() antlr.RuleContext

func (*MatchingRuleUseLabelContext) IsMatchingRuleUseLabelContext

func (*MatchingRuleUseLabelContext) IsMatchingRuleUseLabelContext()

func (*MatchingRuleUseLabelContext) MULabel

func (s *MatchingRuleUseLabelContext) MULabel() antlr.TerminalNode

func (*MatchingRuleUseLabelContext) ToStringTree

func (s *MatchingRuleUseLabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MatchingRuleUses

type MatchingRuleUses []MatchingRuleUse

MatchingRuleUses is an instance of slices of MatchingRuleUse instances.

type MatchingRules

type MatchingRules []MatchingRule

MatchingRules is an instance of slices of MatchingRule instances.

type MayContext

type MayContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMayContext

func NewEmptyMayContext() *MayContext

func NewMayContext

func NewMayContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MayContext

func (*MayContext) AllSP

func (s *MayContext) AllSP() []antlr.TerminalNode

func (*MayContext) GetParser

func (s *MayContext) GetParser() antlr.Parser

func (*MayContext) GetRuleContext

func (s *MayContext) GetRuleContext() antlr.RuleContext

func (*MayContext) IsMayContext

func (*MayContext) IsMayContext()

func (*MayContext) OID

func (s *MayContext) OID() IOIDContext

func (*MayContext) OIDs

func (s *MayContext) OIDs() IOIDsContext

func (*MayContext) SP

func (s *MayContext) SP(i int) antlr.TerminalNode

func (*MayContext) ToStringTree

func (s *MayContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MinUpperBoundsContext

type MinUpperBoundsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMinUpperBoundsContext

func NewEmptyMinUpperBoundsContext() *MinUpperBoundsContext

func NewMinUpperBoundsContext

func NewMinUpperBoundsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MinUpperBoundsContext

func (*MinUpperBoundsContext) GetParser

func (s *MinUpperBoundsContext) GetParser() antlr.Parser

func (*MinUpperBoundsContext) GetRuleContext

func (s *MinUpperBoundsContext) GetRuleContext() antlr.RuleContext

func (*MinUpperBoundsContext) IsMinUpperBoundsContext

func (*MinUpperBoundsContext) IsMinUpperBoundsContext()

func (*MinUpperBoundsContext) MUB

func (s *MinUpperBoundsContext) MUB() antlr.TerminalNode

func (*MinUpperBoundsContext) ToStringTree

func (s *MinUpperBoundsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type MustContext

type MustContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMustContext

func NewEmptyMustContext() *MustContext

func NewMustContext

func NewMustContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MustContext

func (*MustContext) AllSP

func (s *MustContext) AllSP() []antlr.TerminalNode

func (*MustContext) GetParser

func (s *MustContext) GetParser() antlr.Parser

func (*MustContext) GetRuleContext

func (s *MustContext) GetRuleContext() antlr.RuleContext

func (*MustContext) IsMustContext

func (*MustContext) IsMustContext()

func (*MustContext) OID

func (s *MustContext) OID() IOIDContext

func (*MustContext) OIDs

func (s *MustContext) OIDs() IOIDsContext

func (*MustContext) SP

func (s *MustContext) SP(i int) antlr.TerminalNode

func (*MustContext) ToStringTree

func (s *MustContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NameContext

type NameContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNameContext

func NewEmptyNameContext() *NameContext

func NewNameContext

func NewNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NameContext

func (*NameContext) AllSP

func (s *NameContext) AllSP() []antlr.TerminalNode

func (*NameContext) GetParser

func (s *NameContext) GetParser() antlr.Parser

func (*NameContext) GetRuleContext

func (s *NameContext) GetRuleContext() antlr.RuleContext

func (*NameContext) IsNameContext

func (*NameContext) IsNameContext()

func (*NameContext) Names

func (s *NameContext) Names() INamesContext

func (*NameContext) SP

func (s *NameContext) SP(i int) antlr.TerminalNode

func (*NameContext) ToStringTree

func (s *NameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NameForm

type NameForm struct {
	OID        string
	Macro      []string
	Name       []string
	Desc       string
	Obsolete   bool
	OC         string
	Must       []string
	May        []string
	Extensions map[string][]string
}

NameForm implements RFC 4512 Section 4.1.7.2.

func ParseNameForm

func ParseNameForm(raw string) (nf NameForm, err error)

ParseNameForm processes raw into an instance of NameForm, which is returned alongside an error.

type NameFormDescriptionContext

type NameFormDescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNameFormDescriptionContext

func NewEmptyNameFormDescriptionContext() *NameFormDescriptionContext

func NewNameFormDescriptionContext

func NewNameFormDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NameFormDescriptionContext

func (*NameFormDescriptionContext) AllDescription

func (s *NameFormDescriptionContext) AllDescription() []IDescriptionContext

func (*NameFormDescriptionContext) AllLineComment

func (s *NameFormDescriptionContext) AllLineComment() []antlr.TerminalNode

func (*NameFormDescriptionContext) AllNEWLINE

func (s *NameFormDescriptionContext) AllNEWLINE() []antlr.TerminalNode

func (*NameFormDescriptionContext) AllName

func (*NameFormDescriptionContext) AllObsolescence

func (s *NameFormDescriptionContext) AllObsolescence() []IObsolescenceContext

func (*NameFormDescriptionContext) AllSP

func (s *NameFormDescriptionContext) AllSP() []antlr.TerminalNode

func (*NameFormDescriptionContext) CloseParen

func (*NameFormDescriptionContext) Description

func (*NameFormDescriptionContext) Extensions

func (*NameFormDescriptionContext) GetParser

func (s *NameFormDescriptionContext) GetParser() antlr.Parser

func (*NameFormDescriptionContext) GetRuleContext

func (s *NameFormDescriptionContext) GetRuleContext() antlr.RuleContext

func (*NameFormDescriptionContext) IsNameFormDescriptionContext

func (*NameFormDescriptionContext) IsNameFormDescriptionContext()

func (*NameFormDescriptionContext) LineComment

func (s *NameFormDescriptionContext) LineComment(i int) antlr.TerminalNode

func (*NameFormDescriptionContext) May

func (*NameFormDescriptionContext) Must

func (*NameFormDescriptionContext) NEWLINE

func (s *NameFormDescriptionContext) NEWLINE(i int) antlr.TerminalNode

func (*NameFormDescriptionContext) Name

func (*NameFormDescriptionContext) NumericOIDOrMacro

func (*NameFormDescriptionContext) Obsolescence

func (*NameFormDescriptionContext) OpenParen

func (*NameFormDescriptionContext) SP

func (s *NameFormDescriptionContext) SP(i int) antlr.TerminalNode

func (*NameFormDescriptionContext) StructuralClass

func (*NameFormDescriptionContext) ToStringTree

func (s *NameFormDescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NameFormDescriptionsContext

type NameFormDescriptionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNameFormDescriptionsContext

func NewEmptyNameFormDescriptionsContext() *NameFormDescriptionsContext

func NewNameFormDescriptionsContext

func NewNameFormDescriptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NameFormDescriptionsContext

func (*NameFormDescriptionsContext) AllEOF

func (s *NameFormDescriptionsContext) AllEOF() []antlr.TerminalNode

func (*NameFormDescriptionsContext) AllNEWLINE

func (s *NameFormDescriptionsContext) AllNEWLINE() []antlr.TerminalNode

func (*NameFormDescriptionsContext) AllNameFormDescription

func (s *NameFormDescriptionsContext) AllNameFormDescription() []INameFormDescriptionContext

func (*NameFormDescriptionsContext) AllNameFormLabel

func (s *NameFormDescriptionsContext) AllNameFormLabel() []INameFormLabelContext

func (*NameFormDescriptionsContext) AllSP

func (s *NameFormDescriptionsContext) AllSP() []antlr.TerminalNode

func (*NameFormDescriptionsContext) EOF

func (s *NameFormDescriptionsContext) EOF(i int) antlr.TerminalNode

func (*NameFormDescriptionsContext) GetParser

func (s *NameFormDescriptionsContext) GetParser() antlr.Parser

func (*NameFormDescriptionsContext) GetRuleContext

func (s *NameFormDescriptionsContext) GetRuleContext() antlr.RuleContext

func (*NameFormDescriptionsContext) IsNameFormDescriptionsContext

func (*NameFormDescriptionsContext) IsNameFormDescriptionsContext()

func (*NameFormDescriptionsContext) NEWLINE

func (s *NameFormDescriptionsContext) NEWLINE(i int) antlr.TerminalNode

func (*NameFormDescriptionsContext) NameFormDescription

func (*NameFormDescriptionsContext) NameFormLabel

func (*NameFormDescriptionsContext) SP

func (s *NameFormDescriptionsContext) SP(i int) antlr.TerminalNode

func (*NameFormDescriptionsContext) ToStringTree

func (s *NameFormDescriptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NameFormLabelContext

type NameFormLabelContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNameFormLabelContext

func NewEmptyNameFormLabelContext() *NameFormLabelContext

func NewNameFormLabelContext

func NewNameFormLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NameFormLabelContext

func (*NameFormLabelContext) DefinitionLabelDelim

func (s *NameFormLabelContext) DefinitionLabelDelim() IDefinitionLabelDelimContext

func (*NameFormLabelContext) GetParser

func (s *NameFormLabelContext) GetParser() antlr.Parser

func (*NameFormLabelContext) GetRuleContext

func (s *NameFormLabelContext) GetRuleContext() antlr.RuleContext

func (*NameFormLabelContext) IsNameFormLabelContext

func (*NameFormLabelContext) IsNameFormLabelContext()

func (*NameFormLabelContext) NFLabel

func (s *NameFormLabelContext) NFLabel() antlr.TerminalNode

func (*NameFormLabelContext) ToStringTree

func (s *NameFormLabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NameForms

type NameForms []NameForm

NameForms is an instance of slices of NameForm instances.

type NamesContext

type NamesContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNamesContext

func NewEmptyNamesContext() *NamesContext

func NewNamesContext

func NewNamesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NamesContext

func (*NamesContext) AllLineComment

func (s *NamesContext) AllLineComment() []antlr.TerminalNode

func (*NamesContext) AllNEWLINE

func (s *NamesContext) AllNEWLINE() []antlr.TerminalNode

func (*NamesContext) AllQuotedDescriptor

func (s *NamesContext) AllQuotedDescriptor() []IQuotedDescriptorContext

func (*NamesContext) AllSP

func (s *NamesContext) AllSP() []antlr.TerminalNode

func (*NamesContext) CloseParen

func (s *NamesContext) CloseParen() ICloseParenContext

func (*NamesContext) GetParser

func (s *NamesContext) GetParser() antlr.Parser

func (*NamesContext) GetRuleContext

func (s *NamesContext) GetRuleContext() antlr.RuleContext

func (*NamesContext) IsNamesContext

func (*NamesContext) IsNamesContext()

func (*NamesContext) LineComment

func (s *NamesContext) LineComment(i int) antlr.TerminalNode

func (*NamesContext) NEWLINE

func (s *NamesContext) NEWLINE(i int) antlr.TerminalNode

func (*NamesContext) OpenParen

func (s *NamesContext) OpenParen() IOpenParenContext

func (*NamesContext) QuotedDescriptor

func (s *NamesContext) QuotedDescriptor(i int) IQuotedDescriptorContext

func (*NamesContext) SP

func (s *NamesContext) SP(i int) antlr.TerminalNode

func (*NamesContext) ToStringTree

func (s *NamesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NotContext

type NotContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNotContext

func NewEmptyNotContext() *NotContext

func NewNotContext

func NewNotContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NotContext

func (*NotContext) AllSP

func (s *NotContext) AllSP() []antlr.TerminalNode

func (*NotContext) GetParser

func (s *NotContext) GetParser() antlr.Parser

func (*NotContext) GetRuleContext

func (s *NotContext) GetRuleContext() antlr.RuleContext

func (*NotContext) IsNotContext

func (*NotContext) IsNotContext()

func (*NotContext) OID

func (s *NotContext) OID() IOIDContext

func (*NotContext) OIDs

func (s *NotContext) OIDs() IOIDsContext

func (*NotContext) SP

func (s *NotContext) SP(i int) antlr.TerminalNode

func (*NotContext) ToStringTree

func (s *NotContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NumberContext

type NumberContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNumberContext

func NewEmptyNumberContext() *NumberContext

func NewNumberContext

func NewNumberContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumberContext

func (*NumberContext) Digit

func (s *NumberContext) Digit() antlr.TerminalNode

func (*NumberContext) GetParser

func (s *NumberContext) GetParser() antlr.Parser

func (*NumberContext) GetRuleContext

func (s *NumberContext) GetRuleContext() antlr.RuleContext

func (*NumberContext) IsNumberContext

func (*NumberContext) IsNumberContext()

func (*NumberContext) ToStringTree

func (s *NumberContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NumericOIDContext

type NumericOIDContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNumericOIDContext

func NewEmptyNumericOIDContext() *NumericOIDContext

func NewNumericOIDContext

func NewNumericOIDContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumericOIDContext

func (*NumericOIDContext) GetParser

func (s *NumericOIDContext) GetParser() antlr.Parser

func (*NumericOIDContext) GetRuleContext

func (s *NumericOIDContext) GetRuleContext() antlr.RuleContext

func (*NumericOIDContext) IsNumericOIDContext

func (*NumericOIDContext) IsNumericOIDContext()

func (*NumericOIDContext) NumOID

func (s *NumericOIDContext) NumOID() antlr.TerminalNode

func (*NumericOIDContext) ToStringTree

func (s *NumericOIDContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type NumericOIDOrMacroContext

type NumericOIDOrMacroContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyNumericOIDOrMacroContext

func NewEmptyNumericOIDOrMacroContext() *NumericOIDOrMacroContext

func NewNumericOIDOrMacroContext

func NewNumericOIDOrMacroContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NumericOIDOrMacroContext

func (*NumericOIDOrMacroContext) GetParser

func (s *NumericOIDOrMacroContext) GetParser() antlr.Parser

func (*NumericOIDOrMacroContext) GetRuleContext

func (s *NumericOIDOrMacroContext) GetRuleContext() antlr.RuleContext

func (*NumericOIDOrMacroContext) IsNumericOIDOrMacroContext

func (*NumericOIDOrMacroContext) IsNumericOIDOrMacroContext()

func (*NumericOIDOrMacroContext) Macro

func (*NumericOIDOrMacroContext) NumericOID

func (*NumericOIDOrMacroContext) ToStringTree

func (s *NumericOIDOrMacroContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OIDContext

type OIDContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOIDContext

func NewEmptyOIDContext() *OIDContext

func NewOIDContext

func NewOIDContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OIDContext

func (*OIDContext) Descriptor

func (s *OIDContext) Descriptor() IDescriptorContext

func (*OIDContext) GetParser

func (s *OIDContext) GetParser() antlr.Parser

func (*OIDContext) GetRuleContext

func (s *OIDContext) GetRuleContext() antlr.RuleContext

func (*OIDContext) IsOIDContext

func (*OIDContext) IsOIDContext()

func (*OIDContext) NumericOID

func (s *OIDContext) NumericOID() INumericOIDContext

func (*OIDContext) ToStringTree

func (s *OIDContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OIDsContext

type OIDsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOIDsContext

func NewEmptyOIDsContext() *OIDsContext

func NewOIDsContext

func NewOIDsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OIDsContext

func (*OIDsContext) AllLineComment

func (s *OIDsContext) AllLineComment() []antlr.TerminalNode

func (*OIDsContext) AllNEWLINE

func (s *OIDsContext) AllNEWLINE() []antlr.TerminalNode

func (*OIDsContext) AllODelim

func (s *OIDsContext) AllODelim() []antlr.TerminalNode

func (*OIDsContext) AllOID

func (s *OIDsContext) AllOID() []IOIDContext

func (*OIDsContext) AllSP

func (s *OIDsContext) AllSP() []antlr.TerminalNode

func (*OIDsContext) CloseParen

func (s *OIDsContext) CloseParen() ICloseParenContext

func (*OIDsContext) GetParser

func (s *OIDsContext) GetParser() antlr.Parser

func (*OIDsContext) GetRuleContext

func (s *OIDsContext) GetRuleContext() antlr.RuleContext

func (*OIDsContext) IsOIDsContext

func (*OIDsContext) IsOIDsContext()

func (*OIDsContext) LineComment

func (s *OIDsContext) LineComment(i int) antlr.TerminalNode

func (*OIDsContext) NEWLINE

func (s *OIDsContext) NEWLINE(i int) antlr.TerminalNode

func (*OIDsContext) ODelim

func (s *OIDsContext) ODelim(i int) antlr.TerminalNode

func (*OIDsContext) OID

func (s *OIDsContext) OID(i int) IOIDContext

func (*OIDsContext) OpenParen

func (s *OIDsContext) OpenParen() IOpenParenContext

func (*OIDsContext) SP

func (s *OIDsContext) SP(i int) antlr.TerminalNode

func (*OIDsContext) ToStringTree

func (s *OIDsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObjectClass

type ObjectClass struct {
	OID          string
	Macro        []string
	Name         []string
	Desc         string
	Obsolete     bool
	SuperClasses []string
	Kind         string
	Must         []string
	May          []string
	Extensions   map[string][]string
}

ObjectClass implements RFC 4512 Section 4.1.1.

func ParseObjectClass

func ParseObjectClass(raw string) (oc ObjectClass, err error)

ParseObjectClass processes raw into an instance of ObjectClass, which is returned alongside an error.

Example
var raw string = `( 2.5.6.0
		NAME 'top'
		ABSTRACT
		MUST objectClass
		X-ORIGIN 'RFC4512' )`

oc, err := ParseObjectClass(raw)
if err != nil {
	fmt.Printf("%v", err)
	return
}

fmt.Printf("%s\n", oc.OID)
Output:

2.5.6.0

type ObjectClassDescriptionContext

type ObjectClassDescriptionContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObjectClassDescriptionContext

func NewEmptyObjectClassDescriptionContext() *ObjectClassDescriptionContext

func NewObjectClassDescriptionContext

func NewObjectClassDescriptionContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectClassDescriptionContext

func (*ObjectClassDescriptionContext) AllDescription

func (s *ObjectClassDescriptionContext) AllDescription() []IDescriptionContext

func (*ObjectClassDescriptionContext) AllKind

func (*ObjectClassDescriptionContext) AllLineComment

func (s *ObjectClassDescriptionContext) AllLineComment() []antlr.TerminalNode

func (*ObjectClassDescriptionContext) AllMay

func (*ObjectClassDescriptionContext) AllMust

func (*ObjectClassDescriptionContext) AllNEWLINE

func (s *ObjectClassDescriptionContext) AllNEWLINE() []antlr.TerminalNode

func (*ObjectClassDescriptionContext) AllName

func (*ObjectClassDescriptionContext) AllObsolescence

func (s *ObjectClassDescriptionContext) AllObsolescence() []IObsolescenceContext

func (*ObjectClassDescriptionContext) AllSP

func (s *ObjectClassDescriptionContext) AllSP() []antlr.TerminalNode

func (*ObjectClassDescriptionContext) AllSuperClasses

func (s *ObjectClassDescriptionContext) AllSuperClasses() []ISuperClassesContext

func (*ObjectClassDescriptionContext) CloseParen

func (*ObjectClassDescriptionContext) Description

func (*ObjectClassDescriptionContext) Extensions

func (*ObjectClassDescriptionContext) GetParser

func (s *ObjectClassDescriptionContext) GetParser() antlr.Parser

func (*ObjectClassDescriptionContext) GetRuleContext

func (s *ObjectClassDescriptionContext) GetRuleContext() antlr.RuleContext

func (*ObjectClassDescriptionContext) IsObjectClassDescriptionContext

func (*ObjectClassDescriptionContext) IsObjectClassDescriptionContext()

func (*ObjectClassDescriptionContext) Kind

func (*ObjectClassDescriptionContext) LineComment

func (s *ObjectClassDescriptionContext) LineComment(i int) antlr.TerminalNode

func (*ObjectClassDescriptionContext) May

func (*ObjectClassDescriptionContext) Must

func (*ObjectClassDescriptionContext) NEWLINE

func (s *ObjectClassDescriptionContext) NEWLINE(i int) antlr.TerminalNode

func (*ObjectClassDescriptionContext) Name

func (*ObjectClassDescriptionContext) NumericOIDOrMacro

func (*ObjectClassDescriptionContext) Obsolescence

func (*ObjectClassDescriptionContext) OpenParen

func (*ObjectClassDescriptionContext) SP

func (s *ObjectClassDescriptionContext) SP(i int) antlr.TerminalNode

func (*ObjectClassDescriptionContext) SuperClasses

func (*ObjectClassDescriptionContext) ToStringTree

func (s *ObjectClassDescriptionContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObjectClassDescriptionsContext

type ObjectClassDescriptionsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObjectClassDescriptionsContext

func NewEmptyObjectClassDescriptionsContext() *ObjectClassDescriptionsContext

func NewObjectClassDescriptionsContext

func NewObjectClassDescriptionsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectClassDescriptionsContext

func (*ObjectClassDescriptionsContext) AllEOF

func (s *ObjectClassDescriptionsContext) AllEOF() []antlr.TerminalNode

func (*ObjectClassDescriptionsContext) AllNEWLINE

func (s *ObjectClassDescriptionsContext) AllNEWLINE() []antlr.TerminalNode

func (*ObjectClassDescriptionsContext) AllObjectClassDescription

func (s *ObjectClassDescriptionsContext) AllObjectClassDescription() []IObjectClassDescriptionContext

func (*ObjectClassDescriptionsContext) AllObjectClassLabel

func (s *ObjectClassDescriptionsContext) AllObjectClassLabel() []IObjectClassLabelContext

func (*ObjectClassDescriptionsContext) AllSP

func (s *ObjectClassDescriptionsContext) AllSP() []antlr.TerminalNode

func (*ObjectClassDescriptionsContext) EOF

func (s *ObjectClassDescriptionsContext) EOF(i int) antlr.TerminalNode

func (*ObjectClassDescriptionsContext) GetParser

func (s *ObjectClassDescriptionsContext) GetParser() antlr.Parser

func (*ObjectClassDescriptionsContext) GetRuleContext

func (s *ObjectClassDescriptionsContext) GetRuleContext() antlr.RuleContext

func (*ObjectClassDescriptionsContext) IsObjectClassDescriptionsContext

func (*ObjectClassDescriptionsContext) IsObjectClassDescriptionsContext()

func (*ObjectClassDescriptionsContext) NEWLINE

func (s *ObjectClassDescriptionsContext) NEWLINE(i int) antlr.TerminalNode

func (*ObjectClassDescriptionsContext) ObjectClassDescription

func (*ObjectClassDescriptionsContext) ObjectClassLabel

func (*ObjectClassDescriptionsContext) SP

func (s *ObjectClassDescriptionsContext) SP(i int) antlr.TerminalNode

func (*ObjectClassDescriptionsContext) ToStringTree

func (s *ObjectClassDescriptionsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObjectClassLabelContext

type ObjectClassLabelContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObjectClassLabelContext

func NewEmptyObjectClassLabelContext() *ObjectClassLabelContext

func NewObjectClassLabelContext

func NewObjectClassLabelContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectClassLabelContext

func (*ObjectClassLabelContext) DefinitionLabelDelim

func (s *ObjectClassLabelContext) DefinitionLabelDelim() IDefinitionLabelDelimContext

func (*ObjectClassLabelContext) GetParser

func (s *ObjectClassLabelContext) GetParser() antlr.Parser

func (*ObjectClassLabelContext) GetRuleContext

func (s *ObjectClassLabelContext) GetRuleContext() antlr.RuleContext

func (*ObjectClassLabelContext) IsObjectClassLabelContext

func (*ObjectClassLabelContext) IsObjectClassLabelContext()

func (*ObjectClassLabelContext) OCLabel

func (s *ObjectClassLabelContext) OCLabel() antlr.TerminalNode

func (*ObjectClassLabelContext) ToStringTree

func (s *ObjectClassLabelContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObjectClasses

type ObjectClasses []ObjectClass

ObjectClasses is an instance of slices of ObjectClass instances.

type ObjectIdentifierContext

type ObjectIdentifierContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObjectIdentifierContext

func NewEmptyObjectIdentifierContext() *ObjectIdentifierContext

func NewObjectIdentifierContext

func NewObjectIdentifierContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectIdentifierContext

func (*ObjectIdentifierContext) AllEOF

func (s *ObjectIdentifierContext) AllEOF() []antlr.TerminalNode

func (*ObjectIdentifierContext) AllNEWLINE

func (s *ObjectIdentifierContext) AllNEWLINE() []antlr.TerminalNode

func (*ObjectIdentifierContext) AllObjectIdentifierOIDOrName

func (s *ObjectIdentifierContext) AllObjectIdentifierOIDOrName() []IObjectIdentifierOIDOrNameContext

func (*ObjectIdentifierContext) AllSP

func (s *ObjectIdentifierContext) AllSP() []antlr.TerminalNode

func (*ObjectIdentifierContext) EOF

func (s *ObjectIdentifierContext) EOF(i int) antlr.TerminalNode

func (*ObjectIdentifierContext) GetParser

func (s *ObjectIdentifierContext) GetParser() antlr.Parser

func (*ObjectIdentifierContext) GetRuleContext

func (s *ObjectIdentifierContext) GetRuleContext() antlr.RuleContext

func (*ObjectIdentifierContext) IsObjectIdentifierContext

func (*ObjectIdentifierContext) IsObjectIdentifierContext()

func (*ObjectIdentifierContext) NEWLINE

func (s *ObjectIdentifierContext) NEWLINE(i int) antlr.TerminalNode

func (*ObjectIdentifierContext) ObjectIdentifierOIDOrName

func (s *ObjectIdentifierContext) ObjectIdentifierOIDOrName(i int) IObjectIdentifierOIDOrNameContext

func (*ObjectIdentifierContext) SP

func (s *ObjectIdentifierContext) SP(i int) antlr.TerminalNode

func (*ObjectIdentifierContext) ToStringTree

func (s *ObjectIdentifierContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObjectIdentifierOIDOrNameContext

type ObjectIdentifierOIDOrNameContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObjectIdentifierOIDOrNameContext

func NewEmptyObjectIdentifierOIDOrNameContext() *ObjectIdentifierOIDOrNameContext

func NewObjectIdentifierOIDOrNameContext

func NewObjectIdentifierOIDOrNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObjectIdentifierOIDOrNameContext

func (*ObjectIdentifierOIDOrNameContext) AllSP

func (s *ObjectIdentifierOIDOrNameContext) AllSP() []antlr.TerminalNode

func (*ObjectIdentifierOIDOrNameContext) Descriptor

func (*ObjectIdentifierOIDOrNameContext) GetParser

func (s *ObjectIdentifierOIDOrNameContext) GetParser() antlr.Parser

func (*ObjectIdentifierOIDOrNameContext) GetRuleContext

func (s *ObjectIdentifierOIDOrNameContext) GetRuleContext() antlr.RuleContext

func (*ObjectIdentifierOIDOrNameContext) IsObjectIdentifierOIDOrNameContext

func (*ObjectIdentifierOIDOrNameContext) IsObjectIdentifierOIDOrNameContext()

func (*ObjectIdentifierOIDOrNameContext) NumericOIDOrMacro

func (*ObjectIdentifierOIDOrNameContext) SP

func (s *ObjectIdentifierOIDOrNameContext) SP(i int) antlr.TerminalNode

func (*ObjectIdentifierOIDOrNameContext) ToStringTree

func (s *ObjectIdentifierOIDOrNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ObsolescenceContext

type ObsolescenceContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyObsolescenceContext

func NewEmptyObsolescenceContext() *ObsolescenceContext

func NewObsolescenceContext

func NewObsolescenceContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ObsolescenceContext

func (*ObsolescenceContext) AllSP

func (s *ObsolescenceContext) AllSP() []antlr.TerminalNode

func (*ObsolescenceContext) GetParser

func (s *ObsolescenceContext) GetParser() antlr.Parser

func (*ObsolescenceContext) GetRuleContext

func (s *ObsolescenceContext) GetRuleContext() antlr.RuleContext

func (*ObsolescenceContext) IsObsolescenceContext

func (*ObsolescenceContext) IsObsolescenceContext()

func (*ObsolescenceContext) SP

func (s *ObsolescenceContext) SP(i int) antlr.TerminalNode

func (*ObsolescenceContext) ToStringTree

func (s *ObsolescenceContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OpenParenContext

type OpenParenContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOpenParenContext

func NewEmptyOpenParenContext() *OpenParenContext

func NewOpenParenContext

func NewOpenParenContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OpenParenContext

func (*OpenParenContext) GetParser

func (s *OpenParenContext) GetParser() antlr.Parser

func (*OpenParenContext) GetRuleContext

func (s *OpenParenContext) GetRuleContext() antlr.RuleContext

func (*OpenParenContext) IsOpenParenContext

func (*OpenParenContext) IsOpenParenContext()

func (*OpenParenContext) OpenParenthesis

func (s *OpenParenContext) OpenParenthesis() antlr.TerminalNode

func (*OpenParenContext) ToStringTree

func (s *OpenParenContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type OrderingContext

type OrderingContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyOrderingContext

func NewEmptyOrderingContext() *OrderingContext

func NewOrderingContext

func NewOrderingContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OrderingContext

func (*OrderingContext) AllSP

func (s *OrderingContext) AllSP() []antlr.TerminalNode

func (*OrderingContext) GetParser

func (s *OrderingContext) GetParser() antlr.Parser

func (*OrderingContext) GetRuleContext

func (s *OrderingContext) GetRuleContext() antlr.RuleContext

func (*OrderingContext) IsOrderingContext

func (*OrderingContext) IsOrderingContext()

func (*OrderingContext) OID

func (s *OrderingContext) OID() IOIDContext

func (*OrderingContext) SP

func (s *OrderingContext) SP(i int) antlr.TerminalNode

func (*OrderingContext) ToStringTree

func (s *OrderingContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type QuotedDescriptorContext

type QuotedDescriptorContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyQuotedDescriptorContext

func NewEmptyQuotedDescriptorContext() *QuotedDescriptorContext

func NewQuotedDescriptorContext

func NewQuotedDescriptorContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QuotedDescriptorContext

func (*QuotedDescriptorContext) GetParser

func (s *QuotedDescriptorContext) GetParser() antlr.Parser

func (*QuotedDescriptorContext) GetRuleContext

func (s *QuotedDescriptorContext) GetRuleContext() antlr.RuleContext

func (*QuotedDescriptorContext) IsQuotedDescriptorContext

func (*QuotedDescriptorContext) IsQuotedDescriptorContext()

func (*QuotedDescriptorContext) QDescr

func (s *QuotedDescriptorContext) QDescr() antlr.TerminalNode

func (*QuotedDescriptorContext) ToStringTree

func (s *QuotedDescriptorContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type QuotedStringContext

type QuotedStringContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyQuotedStringContext

func NewEmptyQuotedStringContext() *QuotedStringContext

func NewQuotedStringContext

func NewQuotedStringContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *QuotedStringContext

func (*QuotedStringContext) GetParser

func (s *QuotedStringContext) GetParser() antlr.Parser

func (*QuotedStringContext) GetRuleContext

func (s *QuotedStringContext) GetRuleContext() antlr.RuleContext

func (*QuotedStringContext) IsQuotedStringContext

func (*QuotedStringContext) IsQuotedStringContext()

func (*QuotedStringContext) QString

func (s *QuotedStringContext) QString() antlr.TerminalNode

func (*QuotedStringContext) ToStringTree

func (s *QuotedStringContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type RFC4512Lexer

type RFC4512Lexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewRFC4512Lexer

func NewRFC4512Lexer(input antlr.CharStream) *RFC4512Lexer

NewRFC4512Lexer produces a new lexer instance for the optional input antlr.CharStream.

type RFC4512Parser

type RFC4512Parser struct {
	*antlr.BaseParser
}

func NewRFC4512Parser

func NewRFC4512Parser(input antlr.TokenStream) *RFC4512Parser

NewRFC4512Parser produces a new parser instance for the optional input antlr.TokenStream.

func (*RFC4512Parser) AbstractKind

func (p *RFC4512Parser) AbstractKind() (localctx IAbstractKindContext)

func (*RFC4512Parser) Applies

func (p *RFC4512Parser) Applies() (localctx IAppliesContext)

func (*RFC4512Parser) AttrOptions

func (p *RFC4512Parser) AttrOptions() (localctx IAttrOptionsContext)

func (*RFC4512Parser) AttributeDescription

func (p *RFC4512Parser) AttributeDescription() (localctx IAttributeDescriptionContext)

func (*RFC4512Parser) AttributeTypeDescription

func (p *RFC4512Parser) AttributeTypeDescription() (localctx IAttributeTypeDescriptionContext)

func (*RFC4512Parser) AttributeTypeDescriptions

func (p *RFC4512Parser) AttributeTypeDescriptions() (localctx IAttributeTypeDescriptionsContext)

func (*RFC4512Parser) AttributeTypeLabel

func (p *RFC4512Parser) AttributeTypeLabel() (localctx IAttributeTypeLabelContext)

func (*RFC4512Parser) Aux

func (p *RFC4512Parser) Aux() (localctx IAuxContext)

func (*RFC4512Parser) AuxiliaryKind

func (p *RFC4512Parser) AuxiliaryKind() (localctx IAuxiliaryKindContext)

func (*RFC4512Parser) CloseParen

func (p *RFC4512Parser) CloseParen() (localctx ICloseParenContext)

func (*RFC4512Parser) Collective

func (p *RFC4512Parser) Collective() (localctx ICollectiveContext)

func (*RFC4512Parser) DITContentRuleDescription

func (p *RFC4512Parser) DITContentRuleDescription() (localctx IDITContentRuleDescriptionContext)

func (*RFC4512Parser) DITContentRuleDescriptions

func (p *RFC4512Parser) DITContentRuleDescriptions() (localctx IDITContentRuleDescriptionsContext)

func (*RFC4512Parser) DITContentRuleLabel

func (p *RFC4512Parser) DITContentRuleLabel() (localctx IDITContentRuleLabelContext)

func (*RFC4512Parser) DITStructureRuleDescription

func (p *RFC4512Parser) DITStructureRuleDescription() (localctx IDITStructureRuleDescriptionContext)

func (*RFC4512Parser) DITStructureRuleDescriptions

func (p *RFC4512Parser) DITStructureRuleDescriptions() (localctx IDITStructureRuleDescriptionsContext)

func (*RFC4512Parser) DITStructureRuleLabel

func (p *RFC4512Parser) DITStructureRuleLabel() (localctx IDITStructureRuleLabelContext)

func (*RFC4512Parser) DSAOperation

func (p *RFC4512Parser) DSAOperation() (localctx IDSAOperationContext)

func (*RFC4512Parser) DefinitionLabelDelim

func (p *RFC4512Parser) DefinitionLabelDelim() (localctx IDefinitionLabelDelimContext)

func (*RFC4512Parser) Definitions

func (p *RFC4512Parser) Definitions() (localctx IDefinitionsContext)

func (*RFC4512Parser) Description

func (p *RFC4512Parser) Description() (localctx IDescriptionContext)

func (*RFC4512Parser) Descriptor

func (p *RFC4512Parser) Descriptor() (localctx IDescriptorContext)

func (*RFC4512Parser) DirectoryOperation

func (p *RFC4512Parser) DirectoryOperation() (localctx IDirectoryOperationContext)

func (*RFC4512Parser) DistributedOperation

func (p *RFC4512Parser) DistributedOperation() (localctx IDistributedOperationContext)

func (*RFC4512Parser) Equality

func (p *RFC4512Parser) Equality() (localctx IEqualityContext)

func (*RFC4512Parser) Extension

func (p *RFC4512Parser) Extension() (localctx IExtensionContext)

func (*RFC4512Parser) ExtensionValue

func (p *RFC4512Parser) ExtensionValue() (localctx IExtensionValueContext)

func (*RFC4512Parser) Extensions

func (p *RFC4512Parser) Extensions() (localctx IExtensionsContext)

func (*RFC4512Parser) Fileparse

func (p *RFC4512Parser) Fileparse() (localctx IFileparseContext)

func (*RFC4512Parser) Form

func (p *RFC4512Parser) Form() (localctx IFormContext)

func (*RFC4512Parser) Immutability

func (p *RFC4512Parser) Immutability() (localctx IImmutabilityContext)

func (*RFC4512Parser) Kind

func (p *RFC4512Parser) Kind() (localctx IKindContext)

func (*RFC4512Parser) LDAPSyntaxDescription

func (p *RFC4512Parser) LDAPSyntaxDescription() (localctx ILDAPSyntaxDescriptionContext)

func (*RFC4512Parser) LDAPSyntaxDescriptions

func (p *RFC4512Parser) LDAPSyntaxDescriptions() (localctx ILDAPSyntaxDescriptionsContext)

func (*RFC4512Parser) LDAPSyntaxLabel

func (p *RFC4512Parser) LDAPSyntaxLabel() (localctx ILDAPSyntaxLabelContext)

func (*RFC4512Parser) Macro

func (p *RFC4512Parser) Macro() (localctx IMacroContext)

func (*RFC4512Parser) MacroSuffix

func (p *RFC4512Parser) MacroSuffix() (localctx IMacroSuffixContext)

func (*RFC4512Parser) MatchingRuleDescription

func (p *RFC4512Parser) MatchingRuleDescription() (localctx IMatchingRuleDescriptionContext)

func (*RFC4512Parser) MatchingRuleDescriptions

func (p *RFC4512Parser) MatchingRuleDescriptions() (localctx IMatchingRuleDescriptionsContext)

func (*RFC4512Parser) MatchingRuleLabel

func (p *RFC4512Parser) MatchingRuleLabel() (localctx IMatchingRuleLabelContext)

func (*RFC4512Parser) MatchingRuleUseDescription

func (p *RFC4512Parser) MatchingRuleUseDescription() (localctx IMatchingRuleUseDescriptionContext)

func (*RFC4512Parser) MatchingRuleUseDescriptions

func (p *RFC4512Parser) MatchingRuleUseDescriptions() (localctx IMatchingRuleUseDescriptionsContext)

func (*RFC4512Parser) MatchingRuleUseLabel

func (p *RFC4512Parser) MatchingRuleUseLabel() (localctx IMatchingRuleUseLabelContext)

func (*RFC4512Parser) May

func (p *RFC4512Parser) May() (localctx IMayContext)

func (*RFC4512Parser) MinUpperBounds

func (p *RFC4512Parser) MinUpperBounds() (localctx IMinUpperBoundsContext)

func (*RFC4512Parser) Must

func (p *RFC4512Parser) Must() (localctx IMustContext)

func (*RFC4512Parser) Name

func (p *RFC4512Parser) Name() (localctx INameContext)

func (*RFC4512Parser) NameFormDescription

func (p *RFC4512Parser) NameFormDescription() (localctx INameFormDescriptionContext)

func (*RFC4512Parser) NameFormDescriptions

func (p *RFC4512Parser) NameFormDescriptions() (localctx INameFormDescriptionsContext)

func (*RFC4512Parser) NameFormLabel

func (p *RFC4512Parser) NameFormLabel() (localctx INameFormLabelContext)

func (*RFC4512Parser) Names

func (p *RFC4512Parser) Names() (localctx INamesContext)

func (*RFC4512Parser) Not

func (p *RFC4512Parser) Not() (localctx INotContext)

func (*RFC4512Parser) Number

func (p *RFC4512Parser) Number() (localctx INumberContext)

func (*RFC4512Parser) NumericOID

func (p *RFC4512Parser) NumericOID() (localctx INumericOIDContext)

func (*RFC4512Parser) NumericOIDOrMacro

func (p *RFC4512Parser) NumericOIDOrMacro() (localctx INumericOIDOrMacroContext)

func (*RFC4512Parser) OID

func (p *RFC4512Parser) OID() (localctx IOIDContext)

func (*RFC4512Parser) OIDs

func (p *RFC4512Parser) OIDs() (localctx IOIDsContext)

func (*RFC4512Parser) ObjectClassDescription

func (p *RFC4512Parser) ObjectClassDescription() (localctx IObjectClassDescriptionContext)

func (*RFC4512Parser) ObjectClassDescriptions

func (p *RFC4512Parser) ObjectClassDescriptions() (localctx IObjectClassDescriptionsContext)

func (*RFC4512Parser) ObjectClassLabel

func (p *RFC4512Parser) ObjectClassLabel() (localctx IObjectClassLabelContext)

func (*RFC4512Parser) ObjectIdentifier

func (p *RFC4512Parser) ObjectIdentifier() (localctx IObjectIdentifierContext)

func (*RFC4512Parser) ObjectIdentifierOIDOrName

func (p *RFC4512Parser) ObjectIdentifierOIDOrName() (localctx IObjectIdentifierOIDOrNameContext)

func (*RFC4512Parser) Obsolescence

func (p *RFC4512Parser) Obsolescence() (localctx IObsolescenceContext)

func (*RFC4512Parser) OpenParen

func (p *RFC4512Parser) OpenParen() (localctx IOpenParenContext)

func (*RFC4512Parser) Ordering

func (p *RFC4512Parser) Ordering() (localctx IOrderingContext)

func (*RFC4512Parser) QuotedDescriptor

func (p *RFC4512Parser) QuotedDescriptor() (localctx IQuotedDescriptorContext)

func (*RFC4512Parser) QuotedString

func (p *RFC4512Parser) QuotedString() (localctx IQuotedStringContext)

func (*RFC4512Parser) SchemaDN

func (p *RFC4512Parser) SchemaDN() (localctx ISchemaDNContext)

func (*RFC4512Parser) SingleValue

func (p *RFC4512Parser) SingleValue() (localctx ISingleValueContext)

func (*RFC4512Parser) StructuralClass

func (p *RFC4512Parser) StructuralClass() (localctx IStructuralClassContext)

func (*RFC4512Parser) StructuralKind

func (p *RFC4512Parser) StructuralKind() (localctx IStructuralKindContext)

func (*RFC4512Parser) StructureRule

func (p *RFC4512Parser) StructureRule() (localctx IStructureRuleContext)

func (*RFC4512Parser) StructureRules

func (p *RFC4512Parser) StructureRules() (localctx IStructureRulesContext)

func (*RFC4512Parser) Substr

func (p *RFC4512Parser) Substr() (localctx ISubstrContext)

func (*RFC4512Parser) SuperClasses

func (p *RFC4512Parser) SuperClasses() (localctx ISuperClassesContext)

func (*RFC4512Parser) SuperRules

func (p *RFC4512Parser) SuperRules() (localctx ISuperRulesContext)

func (*RFC4512Parser) SuperType

func (p *RFC4512Parser) SuperType() (localctx ISuperTypeContext)

func (*RFC4512Parser) Syntax

func (p *RFC4512Parser) Syntax() (localctx ISyntaxContext)

func (*RFC4512Parser) Usage

func (p *RFC4512Parser) Usage() (localctx IUsageContext)

func (*RFC4512Parser) Usages

func (p *RFC4512Parser) Usages() (localctx IUsagesContext)

func (*RFC4512Parser) UserApplications added in v1.0.1

func (p *RFC4512Parser) UserApplications() (localctx IUserApplicationsContext)

type Schema

Schema contains slices of RFC 4512 Section 4.1 contexts.

func NewSchema

func NewSchema() Schema

NewSchema initializes and returns a new empty instance of *Schema.

func (*Schema) IsZero

func (r *Schema) IsZero() bool

IsZero returns a Boolean value indicative of receiver nilness.

func (*Schema) ParseDirectory

func (r *Schema) ParseDirectory(dir string) (err error)

ParseDirectory returns an error following an attempt to parse the directory found at dir. Sub-directories encountered are traversed indefinitely. Files encountered will only be read if their name ends in ".schema", at which point their contents are read into bytes, processed using ANTLR and written to the receiver instance.

func (*Schema) ParseFile

func (r *Schema) ParseFile(file string) (err error)

ParseFile returns an error following an attempt to parse file. Only files ending in ".schema" will be considered, however submission of non-qualifying files shall not produce an error.

func (*Schema) ParseRaw added in v1.0.6

func (r *Schema) ParseRaw(raw []byte) (err error)

ParseRaw returns an error following an attempt to parse the input raw bytes into the receiver instance. Both the Schema.ParseFile method and the Schema.ParseDirectory method are dependents of this method.

The raw input value must be non-nil, and must contain valid schema definitions with optional bash comments.

func (*Schema) UpdateMatchingRuleUses

func (r *Schema) UpdateMatchingRuleUses()

UpdateMatchingRuleUses updates the underlying MatchingRuleUses instance within the receiver instance.

type SchemaDNContext

type SchemaDNContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySchemaDNContext

func NewEmptySchemaDNContext() *SchemaDNContext

func NewSchemaDNContext

func NewSchemaDNContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SchemaDNContext

func (*SchemaDNContext) DistinguishedName

func (s *SchemaDNContext) DistinguishedName() antlr.TerminalNode

func (*SchemaDNContext) GetParser

func (s *SchemaDNContext) GetParser() antlr.Parser

func (*SchemaDNContext) GetRuleContext

func (s *SchemaDNContext) GetRuleContext() antlr.RuleContext

func (*SchemaDNContext) IsSchemaDNContext

func (*SchemaDNContext) IsSchemaDNContext()

func (*SchemaDNContext) ToStringTree

func (s *SchemaDNContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SingleValueContext

type SingleValueContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySingleValueContext

func NewEmptySingleValueContext() *SingleValueContext

func NewSingleValueContext

func NewSingleValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SingleValueContext

func (*SingleValueContext) AllSP

func (s *SingleValueContext) AllSP() []antlr.TerminalNode

func (*SingleValueContext) GetParser

func (s *SingleValueContext) GetParser() antlr.Parser

func (*SingleValueContext) GetRuleContext

func (s *SingleValueContext) GetRuleContext() antlr.RuleContext

func (*SingleValueContext) IsSingleValueContext

func (*SingleValueContext) IsSingleValueContext()

func (*SingleValueContext) SP

func (s *SingleValueContext) SP(i int) antlr.TerminalNode

func (*SingleValueContext) ToStringTree

func (s *SingleValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StructuralClassContext

type StructuralClassContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStructuralClassContext

func NewEmptyStructuralClassContext() *StructuralClassContext

func NewStructuralClassContext

func NewStructuralClassContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructuralClassContext

func (*StructuralClassContext) AllSP

func (s *StructuralClassContext) AllSP() []antlr.TerminalNode

func (*StructuralClassContext) GetParser

func (s *StructuralClassContext) GetParser() antlr.Parser

func (*StructuralClassContext) GetRuleContext

func (s *StructuralClassContext) GetRuleContext() antlr.RuleContext

func (*StructuralClassContext) IsStructuralClassContext

func (*StructuralClassContext) IsStructuralClassContext()

func (*StructuralClassContext) OID

func (*StructuralClassContext) SP

func (s *StructuralClassContext) SP(i int) antlr.TerminalNode

func (*StructuralClassContext) ToStringTree

func (s *StructuralClassContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StructuralKindContext

type StructuralKindContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStructuralKindContext

func NewEmptyStructuralKindContext() *StructuralKindContext

func NewStructuralKindContext

func NewStructuralKindContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructuralKindContext

func (*StructuralKindContext) GetParser

func (s *StructuralKindContext) GetParser() antlr.Parser

func (*StructuralKindContext) GetRuleContext

func (s *StructuralKindContext) GetRuleContext() antlr.RuleContext

func (*StructuralKindContext) IsStructuralKindContext

func (*StructuralKindContext) IsStructuralKindContext()

func (*StructuralKindContext) ToStringTree

func (s *StructuralKindContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StructureRuleContext

type StructureRuleContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStructureRuleContext

func NewEmptyStructureRuleContext() *StructureRuleContext

func NewStructureRuleContext

func NewStructureRuleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructureRuleContext

func (*StructureRuleContext) GetParser

func (s *StructureRuleContext) GetParser() antlr.Parser

func (*StructureRuleContext) GetRuleContext

func (s *StructureRuleContext) GetRuleContext() antlr.RuleContext

func (*StructureRuleContext) IsStructureRuleContext

func (*StructureRuleContext) IsStructureRuleContext()

func (*StructureRuleContext) Number

func (*StructureRuleContext) ToStringTree

func (s *StructureRuleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type StructureRulesContext

type StructureRulesContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyStructureRulesContext

func NewEmptyStructureRulesContext() *StructureRulesContext

func NewStructureRulesContext

func NewStructureRulesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StructureRulesContext

func (*StructureRulesContext) AllLineComment

func (s *StructureRulesContext) AllLineComment() []antlr.TerminalNode

func (*StructureRulesContext) AllNEWLINE

func (s *StructureRulesContext) AllNEWLINE() []antlr.TerminalNode

func (*StructureRulesContext) AllSP

func (s *StructureRulesContext) AllSP() []antlr.TerminalNode

func (*StructureRulesContext) AllStructureRule

func (s *StructureRulesContext) AllStructureRule() []IStructureRuleContext

func (*StructureRulesContext) CloseParen

func (s *StructureRulesContext) CloseParen() ICloseParenContext

func (*StructureRulesContext) GetParser

func (s *StructureRulesContext) GetParser() antlr.Parser

func (*StructureRulesContext) GetRuleContext

func (s *StructureRulesContext) GetRuleContext() antlr.RuleContext

func (*StructureRulesContext) IsStructureRulesContext

func (*StructureRulesContext) IsStructureRulesContext()

func (*StructureRulesContext) LineComment

func (s *StructureRulesContext) LineComment(i int) antlr.TerminalNode

func (*StructureRulesContext) NEWLINE

func (s *StructureRulesContext) NEWLINE(i int) antlr.TerminalNode

func (*StructureRulesContext) OpenParen

func (*StructureRulesContext) SP

func (s *StructureRulesContext) SP(i int) antlr.TerminalNode

func (*StructureRulesContext) StructureRule

func (s *StructureRulesContext) StructureRule(i int) IStructureRuleContext

func (*StructureRulesContext) ToStringTree

func (s *StructureRulesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SubstrContext

type SubstrContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySubstrContext

func NewEmptySubstrContext() *SubstrContext

func NewSubstrContext

func NewSubstrContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SubstrContext

func (*SubstrContext) AllSP

func (s *SubstrContext) AllSP() []antlr.TerminalNode

func (*SubstrContext) GetParser

func (s *SubstrContext) GetParser() antlr.Parser

func (*SubstrContext) GetRuleContext

func (s *SubstrContext) GetRuleContext() antlr.RuleContext

func (*SubstrContext) IsSubstrContext

func (*SubstrContext) IsSubstrContext()

func (*SubstrContext) OID

func (s *SubstrContext) OID() IOIDContext

func (*SubstrContext) SP

func (s *SubstrContext) SP(i int) antlr.TerminalNode

func (*SubstrContext) ToStringTree

func (s *SubstrContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SuperClassesContext

type SuperClassesContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySuperClassesContext

func NewEmptySuperClassesContext() *SuperClassesContext

func NewSuperClassesContext

func NewSuperClassesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SuperClassesContext

func (*SuperClassesContext) AllSP

func (s *SuperClassesContext) AllSP() []antlr.TerminalNode

func (*SuperClassesContext) GetParser

func (s *SuperClassesContext) GetParser() antlr.Parser

func (*SuperClassesContext) GetRuleContext

func (s *SuperClassesContext) GetRuleContext() antlr.RuleContext

func (*SuperClassesContext) IsSuperClassesContext

func (*SuperClassesContext) IsSuperClassesContext()

func (*SuperClassesContext) OID

func (*SuperClassesContext) OIDs

func (*SuperClassesContext) SP

func (s *SuperClassesContext) SP(i int) antlr.TerminalNode

func (*SuperClassesContext) ToStringTree

func (s *SuperClassesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SuperRulesContext

type SuperRulesContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySuperRulesContext

func NewEmptySuperRulesContext() *SuperRulesContext

func NewSuperRulesContext

func NewSuperRulesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SuperRulesContext

func (*SuperRulesContext) AllSP

func (s *SuperRulesContext) AllSP() []antlr.TerminalNode

func (*SuperRulesContext) GetParser

func (s *SuperRulesContext) GetParser() antlr.Parser

func (*SuperRulesContext) GetRuleContext

func (s *SuperRulesContext) GetRuleContext() antlr.RuleContext

func (*SuperRulesContext) IsSuperRulesContext

func (*SuperRulesContext) IsSuperRulesContext()

func (*SuperRulesContext) SP

func (s *SuperRulesContext) SP(i int) antlr.TerminalNode

func (*SuperRulesContext) StructureRule

func (s *SuperRulesContext) StructureRule() IStructureRuleContext

func (*SuperRulesContext) StructureRules

func (s *SuperRulesContext) StructureRules() IStructureRulesContext

func (*SuperRulesContext) ToStringTree

func (s *SuperRulesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SuperTypeContext

type SuperTypeContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySuperTypeContext

func NewEmptySuperTypeContext() *SuperTypeContext

func NewSuperTypeContext

func NewSuperTypeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SuperTypeContext

func (*SuperTypeContext) AllSP

func (s *SuperTypeContext) AllSP() []antlr.TerminalNode

func (*SuperTypeContext) GetParser

func (s *SuperTypeContext) GetParser() antlr.Parser

func (*SuperTypeContext) GetRuleContext

func (s *SuperTypeContext) GetRuleContext() antlr.RuleContext

func (*SuperTypeContext) IsSuperTypeContext

func (*SuperTypeContext) IsSuperTypeContext()

func (*SuperTypeContext) OID

func (s *SuperTypeContext) OID() IOIDContext

func (*SuperTypeContext) SP

func (s *SuperTypeContext) SP(i int) antlr.TerminalNode

func (*SuperTypeContext) ToStringTree

func (s *SuperTypeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SyntaxContext

type SyntaxContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySyntaxContext

func NewEmptySyntaxContext() *SyntaxContext

func NewSyntaxContext

func NewSyntaxContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SyntaxContext

func (*SyntaxContext) AllSP

func (s *SyntaxContext) AllSP() []antlr.TerminalNode

func (*SyntaxContext) GetParser

func (s *SyntaxContext) GetParser() antlr.Parser

func (*SyntaxContext) GetRuleContext

func (s *SyntaxContext) GetRuleContext() antlr.RuleContext

func (*SyntaxContext) IsSyntaxContext

func (*SyntaxContext) IsSyntaxContext()

func (*SyntaxContext) NumericOID

func (s *SyntaxContext) NumericOID() INumericOIDContext

func (*SyntaxContext) QuotedDescriptor

func (s *SyntaxContext) QuotedDescriptor() IQuotedDescriptorContext

func (*SyntaxContext) SP

func (s *SyntaxContext) SP(i int) antlr.TerminalNode

func (*SyntaxContext) ToStringTree

func (s *SyntaxContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type UsageContext

type UsageContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyUsageContext

func NewEmptyUsageContext() *UsageContext

func NewUsageContext

func NewUsageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UsageContext

func (*UsageContext) AllSP

func (s *UsageContext) AllSP() []antlr.TerminalNode

func (*UsageContext) GetParser

func (s *UsageContext) GetParser() antlr.Parser

func (*UsageContext) GetRuleContext

func (s *UsageContext) GetRuleContext() antlr.RuleContext

func (*UsageContext) IsUsageContext

func (*UsageContext) IsUsageContext()

func (*UsageContext) SP

func (s *UsageContext) SP(i int) antlr.TerminalNode

func (*UsageContext) ToStringTree

func (s *UsageContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*UsageContext) Usages

func (s *UsageContext) Usages() IUsagesContext

type UsagesContext

type UsagesContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyUsagesContext

func NewEmptyUsagesContext() *UsagesContext

func NewUsagesContext

func NewUsagesContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UsagesContext

func (*UsagesContext) DSAOperation

func (s *UsagesContext) DSAOperation() IDSAOperationContext

func (*UsagesContext) DirectoryOperation

func (s *UsagesContext) DirectoryOperation() IDirectoryOperationContext

func (*UsagesContext) DistributedOperation

func (s *UsagesContext) DistributedOperation() IDistributedOperationContext

func (*UsagesContext) GetParser

func (s *UsagesContext) GetParser() antlr.Parser

func (*UsagesContext) GetRuleContext

func (s *UsagesContext) GetRuleContext() antlr.RuleContext

func (*UsagesContext) IsUsagesContext

func (*UsagesContext) IsUsagesContext()

func (*UsagesContext) ToStringTree

func (s *UsagesContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*UsagesContext) UserApplications added in v1.0.1

func (s *UsagesContext) UserApplications() IUserApplicationsContext

type UserApplicationsContext added in v1.0.1

type UserApplicationsContext struct {
	antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyUserApplicationsContext added in v1.0.1

func NewEmptyUserApplicationsContext() *UserApplicationsContext

func NewUserApplicationsContext added in v1.0.1

func NewUserApplicationsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UserApplicationsContext

func (*UserApplicationsContext) GetParser added in v1.0.1

func (s *UserApplicationsContext) GetParser() antlr.Parser

func (*UserApplicationsContext) GetRuleContext added in v1.0.1

func (s *UserApplicationsContext) GetRuleContext() antlr.RuleContext

func (*UserApplicationsContext) IsUserApplicationsContext added in v1.0.1

func (*UserApplicationsContext) IsUserApplicationsContext()

func (*UserApplicationsContext) ToStringTree added in v1.0.1

func (s *UserApplicationsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL