C# Class Antlr4.Semantics.SymbolChecks

Mostrar archivo Open project: sharwell/antlr4cs Class Usage Examples

Public Properties

Property Type Description
errMgr Antlr4.Tool.ErrorManager

Protected Properties

Property Type Description
reservedNames ISet

Public Methods

Method Description
CheckActionRedefinitions ( IList actions ) : void
CheckForAttributeConflicts ( Rule r ) : void
CheckForLabelConflict ( Rule r, GrammarAST labelID ) : void
CheckForLabelConflicts ( ICollection rules ) : void
CheckForModeConflicts ( Grammar g ) : void
CheckForQualifiedRuleIssues ( Grammar g, IList qualifiedRuleRefs ) : void
CheckForTokenConflicts ( IList tokenIDRefs ) : void
CheckRuleArgs ( Grammar g, IList rulerefs ) : void
Process ( ) : void
SymbolChecks ( Grammar g, SymbolCollector collector ) : System.Collections.Generic

Protected Methods

Method Description
CheckDeclarationRuleConflicts ( [ r, [ attributes, [ ruleNames, [ errorType ) : void
CheckLocalConflictingDeclarations ( [ r, [ attributes, [ referenceAttributes, [ errorType ) : void
CheckReservedNames ( [ rules ) : void

Private Methods

Method Description
CheckForTypeMismatch ( LabelElementPair prevLabelPair, LabelElementPair labelPair ) : void

Method Details

CheckActionRedefinitions() public method

public CheckActionRedefinitions ( IList actions ) : void
actions IList
return void

CheckDeclarationRuleConflicts() protected method

protected CheckDeclarationRuleConflicts ( [ r, [ attributes, [ ruleNames, [ errorType ) : void
r [
attributes [
ruleNames [
errorType [
return void

CheckForAttributeConflicts() public method

public CheckForAttributeConflicts ( Rule r ) : void
r Antlr4.Tool.Rule
return void

CheckForLabelConflict() public method

public CheckForLabelConflict ( Rule r, GrammarAST labelID ) : void
r Antlr4.Tool.Rule
labelID Antlr4.Tool.Ast.GrammarAST
return void

CheckForLabelConflicts() public method

public CheckForLabelConflicts ( ICollection rules ) : void
rules ICollection
return void

CheckForModeConflicts() public method

public CheckForModeConflicts ( Grammar g ) : void
g Antlr4.Tool.Grammar
return void

CheckForQualifiedRuleIssues() public method

public CheckForQualifiedRuleIssues ( Grammar g, IList qualifiedRuleRefs ) : void
g Antlr4.Tool.Grammar
qualifiedRuleRefs IList
return void

CheckForTokenConflicts() public method

public CheckForTokenConflicts ( IList tokenIDRefs ) : void
tokenIDRefs IList
return void

CheckLocalConflictingDeclarations() protected method

protected CheckLocalConflictingDeclarations ( [ r, [ attributes, [ referenceAttributes, [ errorType ) : void
r [
attributes [
referenceAttributes [
errorType [
return void

CheckReservedNames() protected method

protected CheckReservedNames ( [ rules ) : void
rules [
return void

CheckRuleArgs() public method

public CheckRuleArgs ( Grammar g, IList rulerefs ) : void
g Antlr4.Tool.Grammar
rulerefs IList
return void

Process() public method

public Process ( ) : void
return void

SymbolChecks() public method

public SymbolChecks ( Grammar g, SymbolCollector collector ) : System.Collections.Generic
g Antlr4.Tool.Grammar
collector SymbolCollector
return System.Collections.Generic

Property Details

errMgr public_oe property

public ErrorManager,Antlr4.Tool errMgr
return Antlr4.Tool.ErrorManager

reservedNames protected_oe property

protected ISet reservedNames
return ISet