C# Class Antlr4.Tool.AttributeDict

Show file Open project: sharwell/antlr4cs Class Usage Examples

Public Properties

Property Type Description
ast Antlr4.Tool.Ast.GrammarAST
name string
predefinedTokenDict AttributeDict
type DictType

Public Methods

Method Description
Add ( Attribute a ) : Attribute
AttributeDict ( DictType type ) : System.Collections.Generic
Get ( string name ) : Attribute
GetName ( ) : string
Size ( ) : int
ToString ( ) : string

Private Methods

Method Description
AttributeDict ( ) : System.Collections.Generic
Intersection ( [ other ) : ISet

Method Details

Add() public method

public Add ( Attribute a ) : Attribute
a Attribute
return Attribute

AttributeDict() public method

public AttributeDict ( DictType type ) : System.Collections.Generic
type DictType
return System.Collections.Generic

Get() public method

public Get ( string name ) : Attribute
name string
return Attribute

GetName() public method

public GetName ( ) : string
return string

Size() public method

public Size ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string

Property Details

ast public property

public GrammarAST,Antlr4.Tool.Ast ast
return Antlr4.Tool.Ast.GrammarAST

name public property

public string name
return string

predefinedTokenDict public static property

public static AttributeDict,Antlr4.Tool predefinedTokenDict
return AttributeDict

type public property

public DictType type
return DictType