本文整理汇总了C#中Boo.Lang.Compiler.Ast.InterfaceDefinition类的典型用法代码示例。如果您正苦于以下问题:C# InterfaceDefinition类的具体用法?C# InterfaceDefinition怎么用?C# InterfaceDefinition使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
InterfaceDefinition类属于Boo.Lang.Compiler.Ast命名空间,在下文中一共展示了InterfaceDefinition类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: OnInterfaceDefinition
public override void OnInterfaceDefinition(InterfaceDefinition node)
{
if (null != node.Entity)
{
return;
}
node.Entity = new InternalInterface(TypeSystemServices, node);
}
开发者ID:w4x,项目名称:boolangstudio,代码行数:8,代码来源:BindTypeDefinitions.cs
示例2: LeaveInterfaceDefinition
override public void LeaveInterfaceDefinition(InterfaceDefinition node)
{
CantBeMarkedAbstract(node);
CantBeMarkedTransient(node);
CantBeMarkedPartialIfNested(node);
CantBeMarkedFinal(node);
CantBeMarkedStatic(node);
}
开发者ID:0xb1dd1e,项目名称:boo,代码行数:8,代码来源:PreErrorChecking.cs
示例3: OnInterfaceDefinition
override public void OnInterfaceDefinition(InterfaceDefinition node)
{
// ignore
}
开发者ID:HaKDMoDz,项目名称:GNet,代码行数:4,代码来源:ProcessGenerators.cs
示例4: LeaveInterfaceDefinition
public override void LeaveInterfaceDefinition(InterfaceDefinition node)
{
CheckName(node,node.Name);
}
开发者ID:w4x,项目名称:boolangstudio,代码行数:4,代码来源:CheckIdentifiers.cs
示例5: OnInterfaceDefinition
public override void OnInterfaceDefinition(InterfaceDefinition node)
{
ResolveBaseTypes(new Boo.Lang.List(), node);
CheckInterfaceBaseTypes(node);
}
开发者ID:Bombadil77,项目名称:boo,代码行数:5,代码来源:BindBaseTypes.cs
示例6: OnInterfaceDefinition
public override void OnInterfaceDefinition(InterfaceDefinition node)
{
OnTypeDefinition(node);
}
开发者ID:Rfvgyhn,项目名称:boo,代码行数:4,代码来源:DetectInnerGenerics.cs
示例7: LeaveInterfaceDefinition
public override void LeaveInterfaceDefinition(InterfaceDefinition node)
{
base.LeaveInterfaceDefinition(node);
Pop(node.EndSourceLocation.Line);
}
开发者ID:gogobyte,项目名称:boolangstudio,代码行数:6,代码来源:BooDocumentVisitor.cs
示例8: LeaveInterfaceDefinition
public override void LeaveInterfaceDefinition(InterfaceDefinition node)
{
_emitter.EmitTypeAttributes(node);
}
开发者ID:Bombadil77,项目名称:boo,代码行数:4,代码来源:EmitAssembly.cs
示例9: LeaveInterfaceDefinition
public override void LeaveInterfaceDefinition(InterfaceDefinition node)
{
MarkVisited(node);
}
开发者ID:w4x,项目名称:boolangstudio,代码行数:4,代码来源:ProcessInheritedAbstractMembers.cs
示例10: OnInterfaceDefinition
public override void OnInterfaceDefinition(InterfaceDefinition node)
{
}
开发者ID:w4x,项目名称:boolangstudio,代码行数:3,代码来源:ProcessAssignmentsToSpecialMembers.cs
示例11: OnInterfaceDefinition
override public void OnInterfaceDefinition(InterfaceDefinition node)
{
EnsureEntityFor(node);
}
开发者ID:0xb1dd1e,项目名称:boo,代码行数:4,代码来源:BindTypeDefinitions.cs
示例12: OnInterfaceDefinition
public override void OnInterfaceDefinition(InterfaceDefinition node)
{
AddMember(node);
}
开发者ID:boo,项目名称:boo-lang,代码行数:4,代码来源:MergePartialClasses.cs
示例13: OnInterfaceDefinition
public override void OnInterfaceDefinition(InterfaceDefinition node)
{
OnCandidatePartialDefinition(node);
}
开发者ID:boo-lang,项目名称:boo,代码行数:4,代码来源:MergePartialTypes.cs
示例14: EnterInterfaceDefinition
public override bool EnterInterfaceDefinition(InterfaceDefinition node)
{
return false;
}
开发者ID:boo,项目名称:boo-lang,代码行数:4,代码来源:CheckNeverUsedMembers.cs
示例15: LeaveInterfaceDefinition
public override void LeaveInterfaceDefinition(InterfaceDefinition node)
{
this.SetPublicByDefault(node);
}
开发者ID:CarlosHBC,项目名称:UnityDecompiled,代码行数:4,代码来源:ApplyDefaultVisibility.cs
示例16: OnInterfaceDefinition
public override void OnInterfaceDefinition(InterfaceDefinition node)
{
base.OnInterfaceDefinition(node);
_emitter.EmitTypeAttributes(node);
}
开发者ID:skalinets,项目名称:boo,代码行数:5,代码来源:EmitAssembly.cs
示例17: LeaveInterfaceDefinition
public override void LeaveInterfaceDefinition(InterfaceDefinition node)
{
LeaveTypeDefinition(node);
}
开发者ID:elfrostie,项目名称:boo,代码行数:4,代码来源:NormalizeTypeAndMemberDefinitions.cs
示例18: LeaveInterfaceDefinition
public override void LeaveInterfaceDefinition(InterfaceDefinition node)
{
CheckMemberName(node);
CantBeMarkedAbstract(node);
CantBeMarkedTransient(node);
CantBeMarkedPartial(node);
CantBeMarkedFinal(node);
CantBeMarkedStatic(node);
}
开发者ID:neonux,项目名称:boo,代码行数:9,代码来源:PreErrorChecking.cs
示例19: interface_definition
//throws RecognitionException, TokenStreamException
protected void interface_definition(
TypeMemberCollection container
)
{
IToken id = null;
InterfaceDefinition itf = null;
TypeMemberCollection members = null;
GenericParameterDeclarationCollection genericParameters = null;
try { // for error handling
match(INTERFACE);
id = LT(1);
match(ID);
if (0==inputState.guessing)
{
itf = new InterfaceDefinition(SourceLocationFactory.ToLexicalInfo(id));
itf.Name = id.getText();
itf.Modifiers = _modifiers;
AddAttributes(itf.Attributes);
container.Add(itf);
members = itf.Members;
genericParameters = itf.GenericParameters;
}
{
switch ( LA(1) )
{
case LBRACK:
{
match(LBRACK);
{
switch ( LA(1) )
{
case OF:
{
match(OF);
break;
}
case ID:
{
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
generic_parameter_declaration_list(genericParameters);
match(RBRACK);
break;
}
case LPAREN:
case COLON:
{
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
{
switch ( LA(1) )
{
case LPAREN:
{
base_types(itf.BaseTypes);
break;
}
case COLON:
{
break;
}
default:
{
throw new NoViableAltException(LT(1), getFilename());
}
}
}
begin_with_doc(itf);
{ // ( ... )*
for (;;)
{
if ((tokenSet_33_.member(LA(1))))
{
attributes();
{
switch ( LA(1) )
{
case DEF:
{
interface_method(members);
break;
}
case EVENT:
//.........这里部分代码省略.........
开发者ID:0xb1dd1e,项目名称:boo,代码行数:101,代码来源:WSABooParserBase.cs
示例20: OnInterfaceDefinition
public override void OnInterfaceDefinition(InterfaceDefinition node)
{
EnterNamespace((INamespace)GetEntity(node));
VisitTypeDefinitionBody(node);
LeaveNamespace();
}
开发者ID:neonux,项目名称:boo,代码行数:6,代码来源:AbstractNamespaceSensitiveVisitorCompilerStep.cs
注:本文中的Boo.Lang.Compiler.Ast.InterfaceDefinition类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论