Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 1.1
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (20 sloc) 0.449 kb
//
// Term.m
// CoreParse
//
// Created by Thomas Davie on 26/06/2011.
// Copyright 2011 In The Beginning... All rights reserved.
//
#import "Term.h"
@implementation Term
@synthesize value;
- (id)initWithSyntaxTree:(CPSyntaxTree *)syntaxTree
{
self = [super init];
if (nil != self)
{
[self setValue:[[(CPNumberToken *)[[syntaxTree children] objectAtIndex:0] number] floatValue]];
}
return self;
}
@end
Jump to Line
Something went wrong with that request. Please try again.